{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 6,
   "metadata": {},
   "outputs": [],
   "source": [
    "#地理编码\n",
    "import pandas as pd\n",
    "import requests\n",
    "key_h =\"42d131c5d6f739febfdcc5328d43983e\""
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 22,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "{'status': '1', 'info': 'OK', 'infocode': '10000', 'count': '1', 'geocodes': [{'formatted_address': '广东省清远市清城区旅游大厦', 'country': '中国', 'province': '广东省', 'citycode': '0763', 'city': '清远市', 'district': '清城区', 'township': [], 'neighborhood': {'name': [], 'type': []}, 'building': {'name': [], 'type': []}, 'adcode': '441802', 'street': [], 'number': [], 'location': '113.048330,23.678440', 'level': '兴趣点'}]}\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>formatted_address</th>\n",
       "      <th>country</th>\n",
       "      <th>province</th>\n",
       "      <th>citycode</th>\n",
       "      <th>city</th>\n",
       "      <th>district</th>\n",
       "      <th>township</th>\n",
       "      <th>adcode</th>\n",
       "      <th>street</th>\n",
       "      <th>number</th>\n",
       "      <th>location</th>\n",
       "      <th>level</th>\n",
       "      <th>neighborhood.name</th>\n",
       "      <th>neighborhood.type</th>\n",
       "      <th>building.name</th>\n",
       "      <th>building.type</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>广东省清远市清城区旅游大厦</td>\n",
       "      <td>中国</td>\n",
       "      <td>广东省</td>\n",
       "      <td>0763</td>\n",
       "      <td>清远市</td>\n",
       "      <td>清城区</td>\n",
       "      <td>[]</td>\n",
       "      <td>441802</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>113.048330,23.678440</td>\n",
       "      <td>兴趣点</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "  formatted_address country province citycode city district township  adcode  \\\n",
       "0     广东省清远市清城区旅游大厦      中国      广东省     0763  清远市      清城区       []  441802   \n",
       "\n",
       "  street number              location level neighborhood.name  \\\n",
       "0     []     []  113.048330,23.678440   兴趣点                []   \n",
       "\n",
       "  neighborhood.type building.name building.type  \n",
       "0                []            []            []  "
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "旅游大厦地理编码: 113.048330,23.678440\n"
     ]
    }
   ],
   "source": [
    "# A-1 地理编码\n",
    "\"\"\"def定义函数名geocode，定义参数\"\"\"\n",
    "def geocode(address,city=None,batch=None,sig=None)->dict:\n",
    "    \"\"\"获取地理编码\"\"\"\n",
    "    url = 'https://restapi.amap.com/v3/geocode/geo?parameters'\n",
    "    params={\n",
    "        'key': key_h,\n",
    "        'address':address,\n",
    "        'city':city,\n",
    "        'batch':batch,\n",
    "        'sig':sig, \n",
    "    }\n",
    "    response = requests.get(url,params=params)\n",
    "    data = response.json()\n",
    "    return data\n",
    "旅游大厦 = geocode(address='广东省清远市清城区旅游大厦')\n",
    "print(旅游大厦)\n",
    "df_旅游大厦地理编码 = pd.json_normalize(旅游大厦['geocodes'])\n",
    "display(df_旅游大厦地理编码)\n",
    "旅游大厦地理编码 =旅游大厦['geocodes'][0]['location']\n",
    "print(\"旅游大厦地理编码:\",旅游大厦地理编码)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 8,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "{'status': '1', 'regeocode': {'addressComponent': {'city': '清远市', 'province': '广东省', 'adcode': '441802', 'district': '清城区', 'towncode': '441802008000', 'streetNumber': {'number': '35号', 'location': '113.048282,23.678481', 'direction': '西北', 'distance': '6.69697', 'street': '人民二路'}, 'country': '中国', 'township': '洲心街道', 'businessAreas': [[]], 'building': {'name': [], 'type': []}, 'neighborhood': {'name': [], 'type': []}, 'citycode': '0763'}, 'formatted_address': '广东省清远市清城区洲心街道人民二路35号旅游大厦(人民二路)'}, 'info': 'OK', 'infocode': '10000'}\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>0</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>status</th>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>info</th>\n",
       "      <td>OK</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>infocode</th>\n",
       "      <td>10000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.city</th>\n",
       "      <td>清远市</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.province</th>\n",
       "      <td>广东省</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.adcode</th>\n",
       "      <td>441802</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.district</th>\n",
       "      <td>清城区</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.towncode</th>\n",
       "      <td>441802008000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.streetNumber.number</th>\n",
       "      <td>35号</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.streetNumber.location</th>\n",
       "      <td>113.048282,23.678481</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.streetNumber.direction</th>\n",
       "      <td>西北</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.streetNumber.distance</th>\n",
       "      <td>6.69697</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.streetNumber.street</th>\n",
       "      <td>人民二路</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.country</th>\n",
       "      <td>中国</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.township</th>\n",
       "      <td>洲心街道</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.businessAreas</th>\n",
       "      <td>[[]]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.building.name</th>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.building.type</th>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.neighborhood.name</th>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.neighborhood.type</th>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.citycode</th>\n",
       "      <td>0763</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.formatted_address</th>\n",
       "      <td>广东省清远市清城区洲心街道人民二路35号旅游大厦(人民二路)</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "                                                                                0\n",
       "status                                                                          1\n",
       "info                                                                           OK\n",
       "infocode                                                                    10000\n",
       "regeocode.addressComponent.city                                               清远市\n",
       "regeocode.addressComponent.province                                           广东省\n",
       "regeocode.addressComponent.adcode                                          441802\n",
       "regeocode.addressComponent.district                                           清城区\n",
       "regeocode.addressComponent.towncode                                  441802008000\n",
       "regeocode.addressComponent.streetNumber.number                                35号\n",
       "regeocode.addressComponent.streetNumber.location             113.048282,23.678481\n",
       "regeocode.addressComponent.streetNumber.direction                              西北\n",
       "regeocode.addressComponent.streetNumber.distance                          6.69697\n",
       "regeocode.addressComponent.streetNumber.street                               人民二路\n",
       "regeocode.addressComponent.country                                             中国\n",
       "regeocode.addressComponent.township                                          洲心街道\n",
       "regeocode.addressComponent.businessAreas                                     [[]]\n",
       "regeocode.addressComponent.building.name                                       []\n",
       "regeocode.addressComponent.building.type                                       []\n",
       "regeocode.addressComponent.neighborhood.name                                   []\n",
       "regeocode.addressComponent.neighborhood.type                                   []\n",
       "regeocode.addressComponent.citycode                                          0763\n",
       "regeocode.formatted_address                        广东省清远市清城区洲心街道人民二路35号旅游大厦(人民二路)"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "#逆地理编码\n",
    "# A-2 基础逆地理编码分析\n",
    "def regeocode(location,poitype=None,radius=None,extensions=\"base\",batch=False,roadlevel=None,sig=None,homeorcorp=None)->dict:\n",
    "    \"\"\"获取逆地理编码\"\"\"\n",
    "    url = 'https://restapi.amap.com/v3/geocode/regeo?parameters'\n",
    "    params={\n",
    "        'key': key_h,\n",
    "        'location':location,\n",
    "        'poitype':poitype,\n",
    "        'radius':radius,\n",
    "        'extensions':extensions,\n",
    "        'batch':batch,\n",
    "        'roadlevel':roadlevel,\n",
    "        'homeorcorp':homeorcorp,\n",
    "        'sig':sig,\n",
    "        'output':'json'\n",
    "    }\n",
    "    response = requests.get(url,params=params)\n",
    "    data = response.json()\n",
    "    return data\n",
    "旅游大厦逆地理编码 = regeocode(旅游大厦地理编码)\n",
    "print(南方学院逆地理编码)\n",
    "df_旅游大厦逆地理编码 = pd.json_normalize(旅游大厦逆地理编码).T\n",
    "display(df_旅游大厦逆地理编码)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 10,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "{'status': '1', 'regeocode': {'roads': [{'id': '0763F49F004041116', 'location': '113.048,23.6787', 'direction': '南', 'name': '人民二路', 'distance': '33.6534'}, {'id': '0763F49F00404174', 'location': '113.046,23.6777', 'direction': '东', 'name': '广清大道', 'distance': '227.656'}, {'id': '0763F49F004041392', 'location': '113.046,23.678', 'direction': '东', 'name': '人民三路', 'distance': '243.821'}], 'roadinters': [{'second_name': '广清大道', 'first_id': '0763F49F004041392', 'second_id': '0763F49F00404174', 'location': '113.045707,23.678526', 'distance': '267.271', 'first_name': '人民三路', 'direction': '东'}], 'formatted_address': '广东省清远市清城区洲心街道人民二路35号旅游大厦(人民二路)', 'addressComponent': {'city': '清远市', 'province': '广东省', 'adcode': '441802', 'district': '清城区', 'towncode': '441802008000', 'streetNumber': {'number': '35号', 'location': '113.048282,23.678481', 'direction': '西北', 'distance': '6.69697', 'street': '人民二路'}, 'country': '中国', 'township': '洲心街道', 'businessAreas': [[]], 'building': {'name': [], 'type': []}, 'neighborhood': {'name': [], 'type': []}, 'citycode': '0763'}, 'aois': [{'area': '2101.940205', 'type': '120203', 'id': 'B02FB00C34', 'location': '113.048367,23.678386', 'adcode': '441802', 'name': '旅游大厦(人民二路)', 'distance': '0'}, {'area': '1310.471478', 'type': '120302', 'id': 'B02FB0P57U', 'location': '113.047923,23.678320', 'adcode': '441802', 'name': '信诚豪庭', 'distance': '29.2676'}], 'pois': [{'id': 'B02FB00C34', 'direction': '东南', 'businessarea': [], 'address': '人民二路35号', 'poiweight': '0.440436', 'name': '旅游大厦(人民二路)', 'location': '113.048367,23.678386', 'distance': '7.07565', 'tel': [], 'type': '商务住宅;楼宇;商住两用楼宇'}, {'id': 'B02FB0P57U', 'direction': '西', 'businessarea': [], 'address': '人民二路35号旅游大厦C栋', 'poiweight': '0.258545', 'name': '信诚豪庭', 'location': '113.047900,23.678340', 'distance': '45.1804', 'tel': [], 'type': '商务住宅;住宅区;住宅小区'}, {'id': 'B02FB02T27', 'direction': '西', 'businessarea': [], 'address': '人民路35号信诚豪庭首层01-04卡', 'poiweight': '0.281811', 'name': '清远农商银行(三角支行)', 'location': '113.048033,23.678414', 'distance': '30.3795', 'tel': '0763-3878005', 'type': '金融保险服务;银行;农村商业银行'}, {'id': 'B02FB0OOUY', 'direction': '东', 'businessarea': [], 'address': '清人民二路29号', 'poiweight': '0.30832', 'name': '恒业大厦', 'location': '113.049249,23.678568', 'distance': '94.6554', 'tel': [], 'type': '商务住宅;楼宇;商住两用楼宇'}, {'id': 'B0FFG8FGJJ', 'direction': '东北', 'businessarea': [], 'address': '人民二路28号', 'poiweight': '0.235118', 'name': '新三角小学', 'location': '113.050289,23.679489', 'distance': '231.085', 'tel': '0763-3363834', 'type': '科教文化服务;学校;小学'}, {'id': 'B02FB029QY', 'direction': '东北', 'businessarea': [], 'address': '人民二路32号', 'poiweight': '0.326921', 'name': '长城大厦', 'location': '113.049324,23.679278', 'distance': '137.584', 'tel': [], 'type': '商务住宅;住宅区;住宅小区'}, {'id': 'B02FB01M35', 'direction': '东', 'businessarea': [], 'address': [], 'poiweight': '0.10725', 'name': '炜业培训中心', 'location': '113.050920,23.678828', 'distance': '267.268', 'tel': '13509261823;15113705068', 'type': '科教文化服务;培训机构;培训机构'}, {'id': 'B02FB0P4CK', 'direction': '西', 'businessarea': [], 'address': '人民二路与广清大道交叉口南100米', 'poiweight': '0.35439', 'name': '三角幼儿园(人民二路)', 'location': '113.045704,23.677735', 'distance': '278.693', 'tel': '0763-3368105', 'type': '科教文化服务;学校;幼儿园'}, {'id': 'B0FFFTU44O', 'direction': '东北', 'businessarea': [], 'address': '人民二路32号长城大厦', 'poiweight': '0.14101', 'name': '清远市顺天财务服务有限公司', 'location': '113.049283,23.679393', 'distance': '143.708', 'tel': '0763-3663991', 'type': '公司企业;公司;公司'}, {'id': 'B0FFG854QW', 'direction': '东北', 'businessarea': [], 'address': '连江路9附近', 'poiweight': '0.249869', 'name': '城市花园海棠苑', 'location': '113.049424,23.680555', 'distance': '260.237', 'tel': [], 'type': '商务住宅;住宅区;住宅小区'}, {'id': 'B0FFG89ABG', 'direction': '西', 'businessarea': [], 'address': 'Y004与广清大道交叉路口东南侧', 'poiweight': '0.165621', 'name': '富轩实木家私', 'location': '113.046574,23.678321', 'distance': '179.328', 'tel': '18998323106', 'type': '购物服务;家居建材市场;家具城'}, {'id': 'B02FB0PW5D', 'direction': '西南', 'businessarea': [], 'address': '广清大道与Y004交叉路口往东南约100米', 'poiweight': '0.157682', 'name': '名仕酒店(现代城二期北)', 'location': '113.046838,23.677330', 'distance': '195.757', 'tel': '0763-3368448;13580309920', 'type': '住宿服务;宾馆酒店;宾馆酒店'}, {'id': 'B0FFIWSPNZ', 'direction': '东', 'businessarea': [], 'address': '人民二路旅游大厦3楼', 'poiweight': '0.148939', 'name': '智慧多教育(旅游大厦校区)', 'location': '113.048434,23.678459', 'distance': '10.7864', 'tel': '13346549169', 'type': '科教文化服务;科教文化场所;科教文化场所'}, {'id': 'B02FB0OOLV', 'direction': '东南', 'businessarea': [], 'address': '万基金海湾·豪庭B区(锦霞路北)', 'poiweight': '0.173815', 'name': '万基金渔湾·豪庭B区', 'location': '113.050428,23.676808', 'distance': '280.329', 'tel': [], 'type': '商务住宅;住宅区;住宅小区'}, {'id': 'B0FFIWUQ1W', 'direction': '北', 'businessarea': [], 'address': '人民二路31号旅游大厦商务中心三楼', 'poiweight': '0.15968', 'name': '易笔畅作文', 'location': '113.048335,23.678670', 'distance': '25.5811', 'tel': [], 'type': '科教文化服务;科教文化场所;科教文化场所'}, {'id': 'B0FFG8FEIZ', 'direction': '东', 'businessarea': [], 'address': '旅游大厦A座208房', 'poiweight': '0.175167', 'name': '广州狮城教育咨询有限公司清远分公司', 'location': '113.048458,23.678457', 'distance': '13.1764', 'tel': [], 'type': '公司企业;公司;公司'}, {'id': 'B0FFHPGDUV', 'direction': '北', 'businessarea': [], 'address': '连江路55号城市花园38号万福国际广场5楼', 'poiweight': '0.147818', 'name': '同育少儿培训', 'location': '113.048303,23.679072', 'distance': '70.3258', 'tel': '0763-3363612', 'type': '科教文化服务;培训机构;培训机构'}, {'id': 'B0FFLISW72', 'direction': '北', 'businessarea': [], 'address': '人民二路30号万福广场五楼', 'poiweight': '0.140299', 'name': '同育教育', 'location': '113.048206,23.679233', 'distance': '89.0857', 'tel': '0763-3363686', 'type': '科教文化服务;培训机构;培训机构'}, {'id': 'B0FFK60AXX', 'direction': '北', 'businessarea': [], 'address': '城市花园38号楼广发银行大厦', 'poiweight': '0.393093', 'name': '广发银行(清远分行营业部)', 'location': '113.048428,23.679312', 'distance': '97.4731', 'tel': '0763-3855018', 'type': '金融保险服务;银行;广发银行'}, {'id': 'B0FFI0JB1V', 'direction': '北', 'businessarea': [], 'address': '人民二路万福国际广场14层(艾纳斯酒店楼上)', 'poiweight': '0.148038', 'name': '乐陶陶艺术教育', 'location': '113.048307,23.679485', 'distance': '116.228', 'tel': '13602943777;0763-3460909;0763-3863383', 'type': '科教文化服务;培训机构;培训机构'}, {'id': 'B0GUB5M90O', 'direction': '北', 'businessarea': [], 'address': '万福国际广场三楼', 'poiweight': '0.154158', 'name': '维意定制(清城万福特许经营店)', 'location': '113.048512,23.679555', 'distance': '125.365', 'tel': '4006781068', 'type': '购物服务;家居建材市场;家居建材市场'}, {'id': 'B0FFH0ODA4', 'direction': '北', 'businessarea': [], 'address': '广清大道与人民二路交汇处', 'poiweight': '0.251938', 'name': '万福国际广场', 'location': '113.048210,23.679568', 'distance': '126.034', 'tel': '0763-3879222', 'type': '购物服务;商场;购物中心'}, {'id': 'B0FFG34CKE', 'direction': '北', 'businessarea': [], 'address': '人民二路33号', 'poiweight': '0.139913', 'name': '清远林生', 'location': '113.048152,23.679041', 'distance': '69.2594', 'tel': [], 'type': '公司企业;公司企业;公司企业'}, {'id': 'B0FFHR5AB2', 'direction': '东北', 'businessarea': [], 'address': '人民二路32号长城大厦2楼', 'poiweight': '0.158573', 'name': '南书房书画培训', 'location': '113.049288,23.679395', 'distance': '144.211', 'tel': [], 'type': '科教文化服务;科教文化场所;科教文化场所'}, {'id': 'B0FFLHT9HK', 'direction': '西', 'businessarea': [], 'address': '人民二路36号西南90米', 'poiweight': '0.149176', 'name': '国珍健康生活馆', 'location': '113.046846,23.678432', 'distance': '151.12', 'tel': '15107631721;13211114662', 'type': '医疗保健服务;医疗保健服务场所;医疗保健服务场所'}, {'id': 'B02FB025AB', 'direction': '东北', 'businessarea': [], 'address': '新城人民二路三十二号长城大厦C座首层03号', 'poiweight': '0.195036', 'name': '徐其修凉茶', 'location': '113.049007,23.679539', 'distance': '140.302', 'tel': '13413581568', 'type': '餐饮服务;冷饮店;冷饮店'}, {'id': 'B0FFFGRZ6V', 'direction': '东北', 'businessarea': [], 'address': '新城人民二路三十号长城大厦C座首层05、06卡', 'poiweight': '0.162976', 'name': '冬瓜鸡', 'location': '113.049016,23.679271', 'distance': '115.86', 'tel': '0763-3660995;0763-3860970;13926648001', 'type': '餐饮服务;中餐厅;中餐厅'}, {'id': 'B0GDD5TMO0', 'direction': '北', 'businessarea': [], 'address': '连江路55号万福国际广场3层', 'poiweight': '0.141119', 'name': '树童英语(清远城市花园中心)', 'location': '113.048506,23.679883', 'distance': '161.467', 'tel': '15820217886;15816289095', 'type': '科教文化服务;培训机构;培训机构'}, {'id': 'B0FFG6RKK7', 'direction': '东', 'businessarea': [], 'address': '洲心街道人民二路29号', 'poiweight': '0.154035', 'name': '赛美广告装饰', 'location': '113.049773,23.678695', 'distance': '149.669', 'tel': '0763-3868862;13620548889', 'type': '公司企业;公司;广告装饰|生活服务;生活服务场所;生活服务场所'}, {'id': 'B02FB01OZK', 'direction': '南', 'businessarea': [], 'address': '清城区', 'poiweight': '0.389609', 'name': '散园', 'location': '113.048022,23.676519', 'distance': '215.919', 'tel': [], 'type': '地名地址信息;普通地名;村庄级地名'}]}, 'info': 'OK', 'infocode': '10000'}\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>status</th>\n",
       "      <th>info</th>\n",
       "      <th>infocode</th>\n",
       "      <th>regeocode.roads</th>\n",
       "      <th>regeocode.roadinters</th>\n",
       "      <th>regeocode.formatted_address</th>\n",
       "      <th>regeocode.addressComponent.city</th>\n",
       "      <th>regeocode.addressComponent.province</th>\n",
       "      <th>regeocode.addressComponent.adcode</th>\n",
       "      <th>regeocode.addressComponent.district</th>\n",
       "      <th>...</th>\n",
       "      <th>regeocode.addressComponent.country</th>\n",
       "      <th>regeocode.addressComponent.township</th>\n",
       "      <th>regeocode.addressComponent.businessAreas</th>\n",
       "      <th>regeocode.addressComponent.building.name</th>\n",
       "      <th>regeocode.addressComponent.building.type</th>\n",
       "      <th>regeocode.addressComponent.neighborhood.name</th>\n",
       "      <th>regeocode.addressComponent.neighborhood.type</th>\n",
       "      <th>regeocode.addressComponent.citycode</th>\n",
       "      <th>regeocode.aois</th>\n",
       "      <th>regeocode.pois</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>1</td>\n",
       "      <td>OK</td>\n",
       "      <td>10000</td>\n",
       "      <td>[{'id': '0763F49F004041116', 'location': '113....</td>\n",
       "      <td>[{'second_name': '广清大道', 'first_id': '0763F49F...</td>\n",
       "      <td>广东省清远市清城区洲心街道人民二路35号旅游大厦(人民二路)</td>\n",
       "      <td>清远市</td>\n",
       "      <td>广东省</td>\n",
       "      <td>441802</td>\n",
       "      <td>清城区</td>\n",
       "      <td>...</td>\n",
       "      <td>中国</td>\n",
       "      <td>洲心街道</td>\n",
       "      <td>[[]]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>0763</td>\n",
       "      <td>[{'area': '2101.940205', 'type': '120203', 'id...</td>\n",
       "      <td>[{'id': 'B02FB00C34', 'direction': '东南', 'busi...</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>1 rows × 26 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "  status info infocode                                    regeocode.roads  \\\n",
       "0      1   OK    10000  [{'id': '0763F49F004041116', 'location': '113....   \n",
       "\n",
       "                                regeocode.roadinters  \\\n",
       "0  [{'second_name': '广清大道', 'first_id': '0763F49F...   \n",
       "\n",
       "      regeocode.formatted_address regeocode.addressComponent.city  \\\n",
       "0  广东省清远市清城区洲心街道人民二路35号旅游大厦(人民二路)                             清远市   \n",
       "\n",
       "  regeocode.addressComponent.province regeocode.addressComponent.adcode  \\\n",
       "0                                 广东省                            441802   \n",
       "\n",
       "  regeocode.addressComponent.district  ... regeocode.addressComponent.country  \\\n",
       "0                                 清城区  ...                                 中国   \n",
       "\n",
       "  regeocode.addressComponent.township  \\\n",
       "0                                洲心街道   \n",
       "\n",
       "  regeocode.addressComponent.businessAreas  \\\n",
       "0                                     [[]]   \n",
       "\n",
       "  regeocode.addressComponent.building.name  \\\n",
       "0                                       []   \n",
       "\n",
       "  regeocode.addressComponent.building.type  \\\n",
       "0                                       []   \n",
       "\n",
       "  regeocode.addressComponent.neighborhood.name  \\\n",
       "0                                           []   \n",
       "\n",
       "  regeocode.addressComponent.neighborhood.type  \\\n",
       "0                                           []   \n",
       "\n",
       "  regeocode.addressComponent.citycode  \\\n",
       "0                                0763   \n",
       "\n",
       "                                      regeocode.aois  \\\n",
       "0  [{'area': '2101.940205', 'type': '120203', 'id...   \n",
       "\n",
       "                                      regeocode.pois  \n",
       "0  [{'id': 'B02FB00C34', 'direction': '东南', 'busi...  \n",
       "\n",
       "[1 rows x 26 columns]"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "# A-2 Extra 全部逆地理编码分析\n",
    "旅游大厦逆地理编码_all = regeocode(旅游大厦地理编码,extensions='all',radius=300)\n",
    "print(旅游大厦逆地理编码_all)\n",
    "df_旅游大厦逆地理编码_all = pd.json_normalize(旅游大厦逆地理编码_all)\n",
    "display(df_旅游大厦逆地理编码_all)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 11,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>id</th>\n",
       "      <th>location</th>\n",
       "      <th>direction</th>\n",
       "      <th>name</th>\n",
       "      <th>distance</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>0763F49F004041116</td>\n",
       "      <td>113.048,23.6787</td>\n",
       "      <td>南</td>\n",
       "      <td>人民二路</td>\n",
       "      <td>33.6534</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>0763F49F00404174</td>\n",
       "      <td>113.046,23.6777</td>\n",
       "      <td>东</td>\n",
       "      <td>广清大道</td>\n",
       "      <td>227.656</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>0763F49F004041392</td>\n",
       "      <td>113.046,23.678</td>\n",
       "      <td>东</td>\n",
       "      <td>人民三路</td>\n",
       "      <td>243.821</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "                  id         location direction  name distance\n",
       "0  0763F49F004041116  113.048,23.6787         南  人民二路  33.6534\n",
       "1   0763F49F00404174  113.046,23.6777         东  广清大道  227.656\n",
       "2  0763F49F004041392   113.046,23.678         东  人民三路  243.821"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>second_name</th>\n",
       "      <th>first_id</th>\n",
       "      <th>second_id</th>\n",
       "      <th>location</th>\n",
       "      <th>distance</th>\n",
       "      <th>first_name</th>\n",
       "      <th>direction</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>广清大道</td>\n",
       "      <td>0763F49F004041392</td>\n",
       "      <td>0763F49F00404174</td>\n",
       "      <td>113.045707,23.678526</td>\n",
       "      <td>267.271</td>\n",
       "      <td>人民三路</td>\n",
       "      <td>东</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "  second_name           first_id         second_id              location  \\\n",
       "0        广清大道  0763F49F004041392  0763F49F00404174  113.045707,23.678526   \n",
       "\n",
       "  distance first_name direction  \n",
       "0  267.271       人民三路         东  "
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>area</th>\n",
       "      <th>type</th>\n",
       "      <th>id</th>\n",
       "      <th>location</th>\n",
       "      <th>adcode</th>\n",
       "      <th>name</th>\n",
       "      <th>distance</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>2101.940205</td>\n",
       "      <td>120203</td>\n",
       "      <td>B02FB00C34</td>\n",
       "      <td>113.048367,23.678386</td>\n",
       "      <td>441802</td>\n",
       "      <td>旅游大厦(人民二路)</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>1310.471478</td>\n",
       "      <td>120302</td>\n",
       "      <td>B02FB0P57U</td>\n",
       "      <td>113.047923,23.678320</td>\n",
       "      <td>441802</td>\n",
       "      <td>信诚豪庭</td>\n",
       "      <td>29.2676</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "          area    type          id              location  adcode        name  \\\n",
       "0  2101.940205  120203  B02FB00C34  113.048367,23.678386  441802  旅游大厦(人民二路)   \n",
       "1  1310.471478  120302  B02FB0P57U  113.047923,23.678320  441802        信诚豪庭   \n",
       "\n",
       "  distance  \n",
       "0        0  \n",
       "1  29.2676  "
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>id</th>\n",
       "      <th>direction</th>\n",
       "      <th>businessarea</th>\n",
       "      <th>address</th>\n",
       "      <th>poiweight</th>\n",
       "      <th>name</th>\n",
       "      <th>location</th>\n",
       "      <th>distance</th>\n",
       "      <th>tel</th>\n",
       "      <th>type</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>B02FB00C34</td>\n",
       "      <td>东南</td>\n",
       "      <td>[]</td>\n",
       "      <td>人民二路35号</td>\n",
       "      <td>0.440436</td>\n",
       "      <td>旅游大厦(人民二路)</td>\n",
       "      <td>113.048367,23.678386</td>\n",
       "      <td>7.07565</td>\n",
       "      <td>[]</td>\n",
       "      <td>商务住宅;楼宇;商住两用楼宇</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>B02FB0P57U</td>\n",
       "      <td>西</td>\n",
       "      <td>[]</td>\n",
       "      <td>人民二路35号旅游大厦C栋</td>\n",
       "      <td>0.258545</td>\n",
       "      <td>信诚豪庭</td>\n",
       "      <td>113.047900,23.678340</td>\n",
       "      <td>45.1804</td>\n",
       "      <td>[]</td>\n",
       "      <td>商务住宅;住宅区;住宅小区</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>B02FB02T27</td>\n",
       "      <td>西</td>\n",
       "      <td>[]</td>\n",
       "      <td>人民路35号信诚豪庭首层01-04卡</td>\n",
       "      <td>0.281811</td>\n",
       "      <td>清远农商银行(三角支行)</td>\n",
       "      <td>113.048033,23.678414</td>\n",
       "      <td>30.3795</td>\n",
       "      <td>0763-3878005</td>\n",
       "      <td>金融保险服务;银行;农村商业银行</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>B02FB0OOUY</td>\n",
       "      <td>东</td>\n",
       "      <td>[]</td>\n",
       "      <td>清人民二路29号</td>\n",
       "      <td>0.30832</td>\n",
       "      <td>恒业大厦</td>\n",
       "      <td>113.049249,23.678568</td>\n",
       "      <td>94.6554</td>\n",
       "      <td>[]</td>\n",
       "      <td>商务住宅;楼宇;商住两用楼宇</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>B0FFG8FGJJ</td>\n",
       "      <td>东北</td>\n",
       "      <td>[]</td>\n",
       "      <td>人民二路28号</td>\n",
       "      <td>0.235118</td>\n",
       "      <td>新三角小学</td>\n",
       "      <td>113.050289,23.679489</td>\n",
       "      <td>231.085</td>\n",
       "      <td>0763-3363834</td>\n",
       "      <td>科教文化服务;学校;小学</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>B02FB029QY</td>\n",
       "      <td>东北</td>\n",
       "      <td>[]</td>\n",
       "      <td>人民二路32号</td>\n",
       "      <td>0.326921</td>\n",
       "      <td>长城大厦</td>\n",
       "      <td>113.049324,23.679278</td>\n",
       "      <td>137.584</td>\n",
       "      <td>[]</td>\n",
       "      <td>商务住宅;住宅区;住宅小区</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>B02FB01M35</td>\n",
       "      <td>东</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>0.10725</td>\n",
       "      <td>炜业培训中心</td>\n",
       "      <td>113.050920,23.678828</td>\n",
       "      <td>267.268</td>\n",
       "      <td>13509261823;15113705068</td>\n",
       "      <td>科教文化服务;培训机构;培训机构</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>B02FB0P4CK</td>\n",
       "      <td>西</td>\n",
       "      <td>[]</td>\n",
       "      <td>人民二路与广清大道交叉口南100米</td>\n",
       "      <td>0.35439</td>\n",
       "      <td>三角幼儿园(人民二路)</td>\n",
       "      <td>113.045704,23.677735</td>\n",
       "      <td>278.693</td>\n",
       "      <td>0763-3368105</td>\n",
       "      <td>科教文化服务;学校;幼儿园</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>B0FFFTU44O</td>\n",
       "      <td>东北</td>\n",
       "      <td>[]</td>\n",
       "      <td>人民二路32号长城大厦</td>\n",
       "      <td>0.14101</td>\n",
       "      <td>清远市顺天财务服务有限公司</td>\n",
       "      <td>113.049283,23.679393</td>\n",
       "      <td>143.708</td>\n",
       "      <td>0763-3663991</td>\n",
       "      <td>公司企业;公司;公司</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>B0FFG854QW</td>\n",
       "      <td>东北</td>\n",
       "      <td>[]</td>\n",
       "      <td>连江路9附近</td>\n",
       "      <td>0.249869</td>\n",
       "      <td>城市花园海棠苑</td>\n",
       "      <td>113.049424,23.680555</td>\n",
       "      <td>260.237</td>\n",
       "      <td>[]</td>\n",
       "      <td>商务住宅;住宅区;住宅小区</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>B0FFG89ABG</td>\n",
       "      <td>西</td>\n",
       "      <td>[]</td>\n",
       "      <td>Y004与广清大道交叉路口东南侧</td>\n",
       "      <td>0.165621</td>\n",
       "      <td>富轩实木家私</td>\n",
       "      <td>113.046574,23.678321</td>\n",
       "      <td>179.328</td>\n",
       "      <td>18998323106</td>\n",
       "      <td>购物服务;家居建材市场;家具城</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>B02FB0PW5D</td>\n",
       "      <td>西南</td>\n",
       "      <td>[]</td>\n",
       "      <td>广清大道与Y004交叉路口往东南约100米</td>\n",
       "      <td>0.157682</td>\n",
       "      <td>名仕酒店(现代城二期北)</td>\n",
       "      <td>113.046838,23.677330</td>\n",
       "      <td>195.757</td>\n",
       "      <td>0763-3368448;13580309920</td>\n",
       "      <td>住宿服务;宾馆酒店;宾馆酒店</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>B0FFIWSPNZ</td>\n",
       "      <td>东</td>\n",
       "      <td>[]</td>\n",
       "      <td>人民二路旅游大厦3楼</td>\n",
       "      <td>0.148939</td>\n",
       "      <td>智慧多教育(旅游大厦校区)</td>\n",
       "      <td>113.048434,23.678459</td>\n",
       "      <td>10.7864</td>\n",
       "      <td>13346549169</td>\n",
       "      <td>科教文化服务;科教文化场所;科教文化场所</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>B02FB0OOLV</td>\n",
       "      <td>东南</td>\n",
       "      <td>[]</td>\n",
       "      <td>万基金海湾·豪庭B区(锦霞路北)</td>\n",
       "      <td>0.173815</td>\n",
       "      <td>万基金渔湾·豪庭B区</td>\n",
       "      <td>113.050428,23.676808</td>\n",
       "      <td>280.329</td>\n",
       "      <td>[]</td>\n",
       "      <td>商务住宅;住宅区;住宅小区</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>B0FFIWUQ1W</td>\n",
       "      <td>北</td>\n",
       "      <td>[]</td>\n",
       "      <td>人民二路31号旅游大厦商务中心三楼</td>\n",
       "      <td>0.15968</td>\n",
       "      <td>易笔畅作文</td>\n",
       "      <td>113.048335,23.678670</td>\n",
       "      <td>25.5811</td>\n",
       "      <td>[]</td>\n",
       "      <td>科教文化服务;科教文化场所;科教文化场所</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>B0FFG8FEIZ</td>\n",
       "      <td>东</td>\n",
       "      <td>[]</td>\n",
       "      <td>旅游大厦A座208房</td>\n",
       "      <td>0.175167</td>\n",
       "      <td>广州狮城教育咨询有限公司清远分公司</td>\n",
       "      <td>113.048458,23.678457</td>\n",
       "      <td>13.1764</td>\n",
       "      <td>[]</td>\n",
       "      <td>公司企业;公司;公司</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>B0FFHPGDUV</td>\n",
       "      <td>北</td>\n",
       "      <td>[]</td>\n",
       "      <td>连江路55号城市花园38号万福国际广场5楼</td>\n",
       "      <td>0.147818</td>\n",
       "      <td>同育少儿培训</td>\n",
       "      <td>113.048303,23.679072</td>\n",
       "      <td>70.3258</td>\n",
       "      <td>0763-3363612</td>\n",
       "      <td>科教文化服务;培训机构;培训机构</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>B0FFLISW72</td>\n",
       "      <td>北</td>\n",
       "      <td>[]</td>\n",
       "      <td>人民二路30号万福广场五楼</td>\n",
       "      <td>0.140299</td>\n",
       "      <td>同育教育</td>\n",
       "      <td>113.048206,23.679233</td>\n",
       "      <td>89.0857</td>\n",
       "      <td>0763-3363686</td>\n",
       "      <td>科教文化服务;培训机构;培训机构</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>B0FFK60AXX</td>\n",
       "      <td>北</td>\n",
       "      <td>[]</td>\n",
       "      <td>城市花园38号楼广发银行大厦</td>\n",
       "      <td>0.393093</td>\n",
       "      <td>广发银行(清远分行营业部)</td>\n",
       "      <td>113.048428,23.679312</td>\n",
       "      <td>97.4731</td>\n",
       "      <td>0763-3855018</td>\n",
       "      <td>金融保险服务;银行;广发银行</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>B0FFI0JB1V</td>\n",
       "      <td>北</td>\n",
       "      <td>[]</td>\n",
       "      <td>人民二路万福国际广场14层(艾纳斯酒店楼上)</td>\n",
       "      <td>0.148038</td>\n",
       "      <td>乐陶陶艺术教育</td>\n",
       "      <td>113.048307,23.679485</td>\n",
       "      <td>116.228</td>\n",
       "      <td>13602943777;0763-3460909;0763-3863383</td>\n",
       "      <td>科教文化服务;培训机构;培训机构</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>20</th>\n",
       "      <td>B0GUB5M90O</td>\n",
       "      <td>北</td>\n",
       "      <td>[]</td>\n",
       "      <td>万福国际广场三楼</td>\n",
       "      <td>0.154158</td>\n",
       "      <td>维意定制(清城万福特许经营店)</td>\n",
       "      <td>113.048512,23.679555</td>\n",
       "      <td>125.365</td>\n",
       "      <td>4006781068</td>\n",
       "      <td>购物服务;家居建材市场;家居建材市场</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>21</th>\n",
       "      <td>B0FFH0ODA4</td>\n",
       "      <td>北</td>\n",
       "      <td>[]</td>\n",
       "      <td>广清大道与人民二路交汇处</td>\n",
       "      <td>0.251938</td>\n",
       "      <td>万福国际广场</td>\n",
       "      <td>113.048210,23.679568</td>\n",
       "      <td>126.034</td>\n",
       "      <td>0763-3879222</td>\n",
       "      <td>购物服务;商场;购物中心</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>22</th>\n",
       "      <td>B0FFG34CKE</td>\n",
       "      <td>北</td>\n",
       "      <td>[]</td>\n",
       "      <td>人民二路33号</td>\n",
       "      <td>0.139913</td>\n",
       "      <td>清远林生</td>\n",
       "      <td>113.048152,23.679041</td>\n",
       "      <td>69.2594</td>\n",
       "      <td>[]</td>\n",
       "      <td>公司企业;公司企业;公司企业</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>23</th>\n",
       "      <td>B0FFHR5AB2</td>\n",
       "      <td>东北</td>\n",
       "      <td>[]</td>\n",
       "      <td>人民二路32号长城大厦2楼</td>\n",
       "      <td>0.158573</td>\n",
       "      <td>南书房书画培训</td>\n",
       "      <td>113.049288,23.679395</td>\n",
       "      <td>144.211</td>\n",
       "      <td>[]</td>\n",
       "      <td>科教文化服务;科教文化场所;科教文化场所</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>24</th>\n",
       "      <td>B0FFLHT9HK</td>\n",
       "      <td>西</td>\n",
       "      <td>[]</td>\n",
       "      <td>人民二路36号西南90米</td>\n",
       "      <td>0.149176</td>\n",
       "      <td>国珍健康生活馆</td>\n",
       "      <td>113.046846,23.678432</td>\n",
       "      <td>151.12</td>\n",
       "      <td>15107631721;13211114662</td>\n",
       "      <td>医疗保健服务;医疗保健服务场所;医疗保健服务场所</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>25</th>\n",
       "      <td>B02FB025AB</td>\n",
       "      <td>东北</td>\n",
       "      <td>[]</td>\n",
       "      <td>新城人民二路三十二号长城大厦C座首层03号</td>\n",
       "      <td>0.195036</td>\n",
       "      <td>徐其修凉茶</td>\n",
       "      <td>113.049007,23.679539</td>\n",
       "      <td>140.302</td>\n",
       "      <td>13413581568</td>\n",
       "      <td>餐饮服务;冷饮店;冷饮店</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>26</th>\n",
       "      <td>B0FFFGRZ6V</td>\n",
       "      <td>东北</td>\n",
       "      <td>[]</td>\n",
       "      <td>新城人民二路三十号长城大厦C座首层05、06卡</td>\n",
       "      <td>0.162976</td>\n",
       "      <td>冬瓜鸡</td>\n",
       "      <td>113.049016,23.679271</td>\n",
       "      <td>115.86</td>\n",
       "      <td>0763-3660995;0763-3860970;13926648001</td>\n",
       "      <td>餐饮服务;中餐厅;中餐厅</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>27</th>\n",
       "      <td>B0GDD5TMO0</td>\n",
       "      <td>北</td>\n",
       "      <td>[]</td>\n",
       "      <td>连江路55号万福国际广场3层</td>\n",
       "      <td>0.141119</td>\n",
       "      <td>树童英语(清远城市花园中心)</td>\n",
       "      <td>113.048506,23.679883</td>\n",
       "      <td>161.467</td>\n",
       "      <td>15820217886;15816289095</td>\n",
       "      <td>科教文化服务;培训机构;培训机构</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>28</th>\n",
       "      <td>B0FFG6RKK7</td>\n",
       "      <td>东</td>\n",
       "      <td>[]</td>\n",
       "      <td>洲心街道人民二路29号</td>\n",
       "      <td>0.154035</td>\n",
       "      <td>赛美广告装饰</td>\n",
       "      <td>113.049773,23.678695</td>\n",
       "      <td>149.669</td>\n",
       "      <td>0763-3868862;13620548889</td>\n",
       "      <td>公司企业;公司;广告装饰|生活服务;生活服务场所;生活服务场所</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>29</th>\n",
       "      <td>B02FB01OZK</td>\n",
       "      <td>南</td>\n",
       "      <td>[]</td>\n",
       "      <td>清城区</td>\n",
       "      <td>0.389609</td>\n",
       "      <td>散园</td>\n",
       "      <td>113.048022,23.676519</td>\n",
       "      <td>215.919</td>\n",
       "      <td>[]</td>\n",
       "      <td>地名地址信息;普通地名;村庄级地名</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "            id direction businessarea                  address poiweight  \\\n",
       "0   B02FB00C34        东南           []                  人民二路35号  0.440436   \n",
       "1   B02FB0P57U         西           []            人民二路35号旅游大厦C栋  0.258545   \n",
       "2   B02FB02T27         西           []       人民路35号信诚豪庭首层01-04卡  0.281811   \n",
       "3   B02FB0OOUY         东           []                 清人民二路29号   0.30832   \n",
       "4   B0FFG8FGJJ        东北           []                  人民二路28号  0.235118   \n",
       "5   B02FB029QY        东北           []                  人民二路32号  0.326921   \n",
       "6   B02FB01M35         东           []                       []   0.10725   \n",
       "7   B02FB0P4CK         西           []        人民二路与广清大道交叉口南100米   0.35439   \n",
       "8   B0FFFTU44O        东北           []              人民二路32号长城大厦   0.14101   \n",
       "9   B0FFG854QW        东北           []                   连江路9附近  0.249869   \n",
       "10  B0FFG89ABG         西           []         Y004与广清大道交叉路口东南侧  0.165621   \n",
       "11  B02FB0PW5D        西南           []    广清大道与Y004交叉路口往东南约100米  0.157682   \n",
       "12  B0FFIWSPNZ         东           []               人民二路旅游大厦3楼  0.148939   \n",
       "13  B02FB0OOLV        东南           []         万基金海湾·豪庭B区(锦霞路北)  0.173815   \n",
       "14  B0FFIWUQ1W         北           []        人民二路31号旅游大厦商务中心三楼   0.15968   \n",
       "15  B0FFG8FEIZ         东           []               旅游大厦A座208房  0.175167   \n",
       "16  B0FFHPGDUV         北           []    连江路55号城市花园38号万福国际广场5楼  0.147818   \n",
       "17  B0FFLISW72         北           []            人民二路30号万福广场五楼  0.140299   \n",
       "18  B0FFK60AXX         北           []           城市花园38号楼广发银行大厦  0.393093   \n",
       "19  B0FFI0JB1V         北           []   人民二路万福国际广场14层(艾纳斯酒店楼上)  0.148038   \n",
       "20  B0GUB5M90O         北           []                 万福国际广场三楼  0.154158   \n",
       "21  B0FFH0ODA4         北           []             广清大道与人民二路交汇处  0.251938   \n",
       "22  B0FFG34CKE         北           []                  人民二路33号  0.139913   \n",
       "23  B0FFHR5AB2        东北           []            人民二路32号长城大厦2楼  0.158573   \n",
       "24  B0FFLHT9HK         西           []             人民二路36号西南90米  0.149176   \n",
       "25  B02FB025AB        东北           []    新城人民二路三十二号长城大厦C座首层03号  0.195036   \n",
       "26  B0FFFGRZ6V        东北           []  新城人民二路三十号长城大厦C座首层05、06卡  0.162976   \n",
       "27  B0GDD5TMO0         北           []           连江路55号万福国际广场3层  0.141119   \n",
       "28  B0FFG6RKK7         东           []              洲心街道人民二路29号  0.154035   \n",
       "29  B02FB01OZK         南           []                      清城区  0.389609   \n",
       "\n",
       "                 name              location distance  \\\n",
       "0          旅游大厦(人民二路)  113.048367,23.678386  7.07565   \n",
       "1                信诚豪庭  113.047900,23.678340  45.1804   \n",
       "2        清远农商银行(三角支行)  113.048033,23.678414  30.3795   \n",
       "3                恒业大厦  113.049249,23.678568  94.6554   \n",
       "4               新三角小学  113.050289,23.679489  231.085   \n",
       "5                长城大厦  113.049324,23.679278  137.584   \n",
       "6              炜业培训中心  113.050920,23.678828  267.268   \n",
       "7         三角幼儿园(人民二路)  113.045704,23.677735  278.693   \n",
       "8       清远市顺天财务服务有限公司  113.049283,23.679393  143.708   \n",
       "9             城市花园海棠苑  113.049424,23.680555  260.237   \n",
       "10             富轩实木家私  113.046574,23.678321  179.328   \n",
       "11       名仕酒店(现代城二期北)  113.046838,23.677330  195.757   \n",
       "12      智慧多教育(旅游大厦校区)  113.048434,23.678459  10.7864   \n",
       "13         万基金渔湾·豪庭B区  113.050428,23.676808  280.329   \n",
       "14              易笔畅作文  113.048335,23.678670  25.5811   \n",
       "15  广州狮城教育咨询有限公司清远分公司  113.048458,23.678457  13.1764   \n",
       "16             同育少儿培训  113.048303,23.679072  70.3258   \n",
       "17               同育教育  113.048206,23.679233  89.0857   \n",
       "18      广发银行(清远分行营业部)  113.048428,23.679312  97.4731   \n",
       "19            乐陶陶艺术教育  113.048307,23.679485  116.228   \n",
       "20    维意定制(清城万福特许经营店)  113.048512,23.679555  125.365   \n",
       "21             万福国际广场  113.048210,23.679568  126.034   \n",
       "22               清远林生  113.048152,23.679041  69.2594   \n",
       "23            南书房书画培训  113.049288,23.679395  144.211   \n",
       "24            国珍健康生活馆  113.046846,23.678432   151.12   \n",
       "25              徐其修凉茶  113.049007,23.679539  140.302   \n",
       "26                冬瓜鸡  113.049016,23.679271   115.86   \n",
       "27     树童英语(清远城市花园中心)  113.048506,23.679883  161.467   \n",
       "28             赛美广告装饰  113.049773,23.678695  149.669   \n",
       "29                 散园  113.048022,23.676519  215.919   \n",
       "\n",
       "                                      tel                             type  \n",
       "0                                      []                   商务住宅;楼宇;商住两用楼宇  \n",
       "1                                      []                    商务住宅;住宅区;住宅小区  \n",
       "2                            0763-3878005                 金融保险服务;银行;农村商业银行  \n",
       "3                                      []                   商务住宅;楼宇;商住两用楼宇  \n",
       "4                            0763-3363834                     科教文化服务;学校;小学  \n",
       "5                                      []                    商务住宅;住宅区;住宅小区  \n",
       "6                 13509261823;15113705068                 科教文化服务;培训机构;培训机构  \n",
       "7                            0763-3368105                    科教文化服务;学校;幼儿园  \n",
       "8                            0763-3663991                       公司企业;公司;公司  \n",
       "9                                      []                    商务住宅;住宅区;住宅小区  \n",
       "10                            18998323106                  购物服务;家居建材市场;家具城  \n",
       "11               0763-3368448;13580309920                   住宿服务;宾馆酒店;宾馆酒店  \n",
       "12                            13346549169             科教文化服务;科教文化场所;科教文化场所  \n",
       "13                                     []                    商务住宅;住宅区;住宅小区  \n",
       "14                                     []             科教文化服务;科教文化场所;科教文化场所  \n",
       "15                                     []                       公司企业;公司;公司  \n",
       "16                           0763-3363612                 科教文化服务;培训机构;培训机构  \n",
       "17                           0763-3363686                 科教文化服务;培训机构;培训机构  \n",
       "18                           0763-3855018                   金融保险服务;银行;广发银行  \n",
       "19  13602943777;0763-3460909;0763-3863383                 科教文化服务;培训机构;培训机构  \n",
       "20                             4006781068               购物服务;家居建材市场;家居建材市场  \n",
       "21                           0763-3879222                     购物服务;商场;购物中心  \n",
       "22                                     []                   公司企业;公司企业;公司企业  \n",
       "23                                     []             科教文化服务;科教文化场所;科教文化场所  \n",
       "24                15107631721;13211114662         医疗保健服务;医疗保健服务场所;医疗保健服务场所  \n",
       "25                            13413581568                     餐饮服务;冷饮店;冷饮店  \n",
       "26  0763-3660995;0763-3860970;13926648001                     餐饮服务;中餐厅;中餐厅  \n",
       "27                15820217886;15816289095                 科教文化服务;培训机构;培训机构  \n",
       "28               0763-3868862;13620548889  公司企业;公司;广告装饰|生活服务;生活服务场所;生活服务场所  \n",
       "29                                     []                地名地址信息;普通地名;村庄级地名  "
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "# A-3 分析细节\n",
    "roads = pd.json_normalize(旅游大厦逆地理编码_all['regeocode']['roads'])\n",
    "roadinters = pd.json_normalize(旅游大厦逆地理编码_all['regeocode']['roadinters'])\n",
    "aois = pd.json_normalize(旅游大厦逆地理编码_all['regeocode']['aois'])\n",
    "pois = pd.json_normalize(旅游大厦逆地理编码_all['regeocode']['pois'])\n",
    "display(roads,roadinters,aois,pois)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 12,
   "metadata": {},
   "outputs": [],
   "source": [
    "#路径规划\n",
    "# B-1 准备base url、params、response.json（） \n",
    "def walking(origin,destination,sig=None)->dict:\n",
    "    \"\"\"准备base url、params、response.json（）\"\"\"\n",
    "    url = 'https://restapi.amap.com/v3/direction/walking?parameters'\n",
    "    params={\n",
    "        'key':key_h,\n",
    "        'origin':origin,\n",
    "        'destination':destination,\n",
    "        'output':'json'\n",
    "    }\n",
    "    response = requests.get(url,params=params)\n",
    "    data = response.json()\n",
    "    return data"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 23,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "(起点)旅游大厦_location: 113.048330,23.678440 (终点)从城市花园_location: 113.048167,23.681831\n"
     ]
    }
   ],
   "source": [
    "# B-2 准备walking 参数\n",
    "城市花园 = geocode('广东省清远市清城区城市花园')\n",
    "城市花园_location = 城市花园['geocodes'][0]['location']\n",
    "旅游大厦_location = 旅游大厦['geocodes'][0]['location']\n",
    "print(\"(起点)旅游大厦_location:\",旅游大厦_location,\"(终点)从城市花园_location:\",城市花园_location)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 21,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "{'status': '1', 'info': 'ok', 'infocode': '10000', 'count': '1', 'route': {'origin': '113.048330,23.678440', 'destination': '113.048167,23.681831', 'paths': [{'distance': '488', 'duration': '390', 'steps': [{'instruction': '向东步行66米左转', 'orientation': '东', 'road': [], 'distance': '66', 'duration': '53', 'polyline': '113.048312,23.678581;113.048963,23.678646', 'action': '左转', 'assistant_action': [], 'walk_type': '0'}, {'instruction': '向北步行11米左转', 'orientation': '北', 'road': [], 'distance': '11', 'duration': '9', 'polyline': '113.048963,23.678646;113.048945,23.678754', 'action': '左转', 'assistant_action': [], 'walk_type': '0'}, {'instruction': '向西步行18米右转', 'orientation': '西', 'road': [], 'distance': '18', 'duration': '14', 'polyline': '113.048941,23.678754;113.048893,23.678754;113.048767,23.678785', 'action': '右转', 'assistant_action': [], 'walk_type': '0'}, {'instruction': '向北步行11米向左前方行走', 'orientation': '北', 'road': [], 'distance': '11', 'duration': '9', 'polyline': '113.048763,23.678785;113.048746,23.678889', 'action': '向左前方行走', 'assistant_action': [], 'walk_type': '0'}, {'instruction': '步行8米右转', 'orientation': [], 'road': [], 'distance': '8', 'duration': '6', 'polyline': '113.048741,23.678889;113.048707,23.678954', 'action': '右转', 'assistant_action': [], 'walk_type': '1'}, {'instruction': '步行286米向左前方行走', 'orientation': [], 'road': [], 'distance': '286', 'duration': '229', 'polyline': '113.048698,23.678954;113.048702,23.678963;113.048702,23.678963;113.048741,23.679093;113.048741,23.679093;113.048733,23.679371;113.048733,23.679371;113.048733,23.679696;113.048733,23.679696;113.048715,23.680109;113.048715,23.680109;113.048715,23.680677;113.048715,23.680677;113.048715,23.681185;113.048715,23.681185;113.048715,23.681194;113.048715,23.681194;113.04872,23.681562', 'action': '向左前方行走', 'assistant_action': [], 'walk_type': '0'}, {'instruction': '步行70米左转', 'orientation': [], 'road': [], 'distance': '70', 'duration': '56', 'polyline': '113.04872,23.681562;113.048663,23.681758;113.048546,23.681953;113.048546,23.681953;113.048403,23.682053;113.048403,23.682053;113.048351,23.682083', 'action': '左转', 'assistant_action': [], 'walk_type': '0'}, {'instruction': '向西南步行18米到达目的地', 'orientation': '西南', 'road': [], 'distance': '18', 'duration': '14', 'polyline': '113.048346,23.682083;113.048234,23.681962', 'action': [], 'assistant_action': '到达目的地', 'walk_type': '0'}]}]}}\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>instruction</th>\n",
       "      <th>orientation</th>\n",
       "      <th>road</th>\n",
       "      <th>distance</th>\n",
       "      <th>duration</th>\n",
       "      <th>polyline</th>\n",
       "      <th>action</th>\n",
       "      <th>assistant_action</th>\n",
       "      <th>walk_type</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>向东步行66米左转</td>\n",
       "      <td>东</td>\n",
       "      <td>[]</td>\n",
       "      <td>66</td>\n",
       "      <td>53</td>\n",
       "      <td>113.048312,23.678581;113.048963,23.678646</td>\n",
       "      <td>左转</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>向北步行11米左转</td>\n",
       "      <td>北</td>\n",
       "      <td>[]</td>\n",
       "      <td>11</td>\n",
       "      <td>9</td>\n",
       "      <td>113.048963,23.678646;113.048945,23.678754</td>\n",
       "      <td>左转</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>向西步行18米右转</td>\n",
       "      <td>西</td>\n",
       "      <td>[]</td>\n",
       "      <td>18</td>\n",
       "      <td>14</td>\n",
       "      <td>113.048941,23.678754;113.048893,23.678754;113....</td>\n",
       "      <td>右转</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>向北步行11米向左前方行走</td>\n",
       "      <td>北</td>\n",
       "      <td>[]</td>\n",
       "      <td>11</td>\n",
       "      <td>9</td>\n",
       "      <td>113.048763,23.678785;113.048746,23.678889</td>\n",
       "      <td>向左前方行走</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>步行8米右转</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>8</td>\n",
       "      <td>6</td>\n",
       "      <td>113.048741,23.678889;113.048707,23.678954</td>\n",
       "      <td>右转</td>\n",
       "      <td>[]</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>步行286米向左前方行走</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>286</td>\n",
       "      <td>229</td>\n",
       "      <td>113.048698,23.678954;113.048702,23.678963;113....</td>\n",
       "      <td>向左前方行走</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>步行70米左转</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>70</td>\n",
       "      <td>56</td>\n",
       "      <td>113.04872,23.681562;113.048663,23.681758;113.0...</td>\n",
       "      <td>左转</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>向西南步行18米到达目的地</td>\n",
       "      <td>西南</td>\n",
       "      <td>[]</td>\n",
       "      <td>18</td>\n",
       "      <td>14</td>\n",
       "      <td>113.048346,23.682083;113.048234,23.681962</td>\n",
       "      <td>[]</td>\n",
       "      <td>到达目的地</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "     instruction orientation road distance duration  \\\n",
       "0      向东步行66米左转           东   []       66       53   \n",
       "1      向北步行11米左转           北   []       11        9   \n",
       "2      向西步行18米右转           西   []       18       14   \n",
       "3  向北步行11米向左前方行走           北   []       11        9   \n",
       "4         步行8米右转          []   []        8        6   \n",
       "5   步行286米向左前方行走          []   []      286      229   \n",
       "6        步行70米左转          []   []       70       56   \n",
       "7  向西南步行18米到达目的地          西南   []       18       14   \n",
       "\n",
       "                                            polyline  action assistant_action  \\\n",
       "0          113.048312,23.678581;113.048963,23.678646      左转               []   \n",
       "1          113.048963,23.678646;113.048945,23.678754      左转               []   \n",
       "2  113.048941,23.678754;113.048893,23.678754;113....      右转               []   \n",
       "3          113.048763,23.678785;113.048746,23.678889  向左前方行走               []   \n",
       "4          113.048741,23.678889;113.048707,23.678954      右转               []   \n",
       "5  113.048698,23.678954;113.048702,23.678963;113....  向左前方行走               []   \n",
       "6  113.04872,23.681562;113.048663,23.681758;113.0...      左转               []   \n",
       "7          113.048346,23.682083;113.048234,23.681962      []            到达目的地   \n",
       "\n",
       "  walk_type  \n",
       "0         0  \n",
       "1         0  \n",
       "2         0  \n",
       "3         0  \n",
       "4         1  \n",
       "5         0  \n",
       "6         0  \n",
       "7         0  "
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/plain": [
       "0        向东步行66米左转\n",
       "1        向北步行11米左转\n",
       "2        向西步行18米右转\n",
       "3    向北步行11米向左前方行走\n",
       "4           步行8米右转\n",
       "5     步行286米向左前方行走\n",
       "6          步行70米左转\n",
       "7    向西南步行18米到达目的地\n",
       "Name: instruction, dtype: object"
      ]
     },
     "execution_count": 21,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# B-3 路径规划\n",
    "旅游大厦_城市花园 = walking(旅游大厦_location,城市花园_location)\n",
    "df_步行路径规划 = pd.json_normalize(旅游大厦_城市花园[\"route\"][\"paths\"][0]['steps'])\n",
    "print(旅游大厦_城市花园)\n",
    "display(df_步行路径规划)\n",
    "df_步行路径规划[\"instruction\"]"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 20,
   "metadata": {},
   "outputs": [],
   "source": [
    "# C-1\n",
    "def integrated(origin,destination,city,cityd=None,extensions='base',strategy=None,nightflag=0,date=None,time=None,sig=None)->dict:\n",
    "    url = 'https://restapi.amap.com/v3/direction/transit/integrated?parameters'\n",
    "    params={\n",
    "        'key':key_h,\n",
    "        'origin':origin,\n",
    "        'destination':destination,\n",
    "        'city':city,\n",
    "        'cityd':cityd,\n",
    "        'extensions':extensions,\n",
    "        'strategy':strategy,\n",
    "        'nightflag':nightflag,\n",
    "        'date':date,\n",
    "        'output':'json'\n",
    "    }\n",
    "    response = requests.get(url,params=params)\n",
    "    data = response.json()\n",
    "    return data"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 21,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "(起点)南方学院_location: 113.679287,23.632575 (终点)西村_location: 113.241256,23.141804\n"
     ]
    }
   ],
   "source": [
    "# C-2 准备参数\n",
    "旅游大厦 = geocode('广东省清远市清城区旅游大厦')\n",
    "旅游大厦_location = 南方学院['geocodes'][0]['location']\n",
    "print(\"(起点)南方学院_location:\",南方学院_location,\"(终点)西村_location:\",西村_location)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 27,
   "metadata": {},
   "outputs": [
    {
     "ename": "NameError",
     "evalue": "name 'integrated' is not defined",
     "output_type": "error",
     "traceback": [
      "\u001b[1;31m---------------------------------------------------------------------------\u001b[0m",
      "\u001b[1;31mNameError\u001b[0m                                 Traceback (most recent call last)",
      "\u001b[1;32m<ipython-input-27-23449113fe26>\u001b[0m in \u001b[0;36m<module>\u001b[1;34m\u001b[0m\n\u001b[0;32m      1\u001b[0m \u001b[1;31m# C-3 公交路径规划\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[1;32m----> 2\u001b[1;33m \u001b[0m旅游大厦\u001b[0m \u001b[1;33m=\u001b[0m \u001b[0mintegrated\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0m旅游大厦_location\u001b[0m\u001b[1;33m,\u001b[0m\u001b[0m旅游大厦_location\u001b[0m\u001b[1;33m,\u001b[0m\u001b[0mcity\u001b[0m\u001b[1;33m=\u001b[0m\u001b[1;34m'清远'\u001b[0m\u001b[1;33m,\u001b[0m\u001b[0mextensions\u001b[0m\u001b[1;33m=\u001b[0m\u001b[1;34m'all'\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0m\u001b[0;32m      3\u001b[0m \u001b[0mprint\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0m旅游大厦\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m      4\u001b[0m \u001b[0mdf_bus\u001b[0m \u001b[1;33m=\u001b[0m \u001b[0mpd\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mjson_normalize\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0m旅游大厦\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m      5\u001b[0m \u001b[0mdisplay\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mdf_bus\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n",
      "\u001b[1;31mNameError\u001b[0m: name 'integrated' is not defined"
     ]
    }
   ],
   "source": [
    "# C-3 公交路径规划\n",
    "旅游大厦 = integrated(旅游大厦_location,旅游大厦_location,city='清远',extensions='all')\n",
    "print(旅游大厦)\n",
    "df_bus = pd.json_normalize(旅游大厦)\n",
    "display(df_bus)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 28,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>citycode</th>\n",
       "      <th>adcode</th>\n",
       "      <th>name</th>\n",
       "      <th>center</th>\n",
       "      <th>level</th>\n",
       "      <th>districts</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>020</td>\n",
       "      <td>440103</td>\n",
       "      <td>彩虹街道</td>\n",
       "      <td>113.246,23.1345</td>\n",
       "      <td>street</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "  citycode  adcode  name           center   level districts\n",
       "0      020  440103  彩虹街道  113.246,23.1345  street        []"
      ]
     },
     "execution_count": 28,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# D-1 请注意行政区域级别划分参数\n",
    "def district(keywords,subdistrict=None,page=None,offset=None,extensions='base',filter=None,)->dict:\n",
    "    url = 'https://restapi.amap.com/v3/config/district?parameters'\n",
    "    params={\n",
    "        'key':key_h,\n",
    "        'keywords':keywords,\n",
    "        'subdistrict':subdistrict,\n",
    "        'page':page,\n",
    "        'offset':offset,\n",
    "        'extensions':extensions,\n",
    "        'filter':filter,\n",
    "        'output':'json'\n",
    "    }\n",
    "    response = requests.get(url,params=params)\n",
    "    data = response.json()\n",
    "    return data\n",
    "行政区域 = district(keywords='广州市',extensions='base',subdistrict=3)\n",
    "行政区域\n",
    "df_行政区域_1级 = pd.json_normalize(行政区域[\"districts\"][0]['districts'])\n",
    "df_行政区域_1级\n",
    "df_行政区域_2级_广州市 = pd.json_normalize(行政区域[\"districts\"][0]['districts'][6]['districts'][18])\n",
    "df_行政区域_2级_广州市"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 52,
   "metadata": {},
   "outputs": [],
   "source": [
    "# 关键字搜索\n",
    "def place_text(keywords,types,city=None,citylimit=None,children=None,page=None,extensions='base',sig=None)->dict:\n",
    "    \"\"\"关键字搜索\"\"\"\n",
    "    url = 'https://restapi.amap.com/v3/place/text?parameters'\n",
    "    params={\n",
    "        'key':key_h,\n",
    "        'keywords':keywords,\n",
    "        'types':types,\n",
    "        'city':city,\n",
    "        'citylimit':citylimit,\n",
    "        'children':children,\n",
    "        'page':page,\n",
    "        'extensions':extensions,\n",
    "        'output':'json'\n",
    "    }\n",
    "    response = requests.get(url,params=params)\n",
    "    data = response.json()\n",
    "    return data"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 56,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "{'suggestion': {'keywords': [], 'cities': []}, 'count': '890', 'infocode': '10000', 'pois': [{'parent': [], 'distance': [], 'pcode': '440000', 'importance': [], 'biz_ext': {'cost': [], 'rating': '3.0'}, 'recommend': '0', 'type': '科教文化服务;学校;高等院校', 'photos': [{'title': [], 'url': 'http://store.is.autonavi.com/showpic/57060a53ac3a0506d62428220a614fc7'}, {'title': [], 'url': 'http://store.is.autonavi.com/showpic/9c149268e149c31cb5487677cc993d21'}, {'title': [], 'url': 'http://store.is.autonavi.com/showpic/64df4cc898e4aa4388cd46f64d8aab90'}], 'discount_num': '0', 'gridcode': '3513018402', 'typecode': '141201', 'shopinfo': '0', 'poiweight': [], 'citycode': '020', 'adname': '花都区', 'children': [], 'alias': '广东行政学院', 'tel': '020-86867103;020-86867108', 'id': 'B00140UFJI', 'tag': [], 'event': [], 'entr_location': '113.18615,23.398564', 'indoor_map': '0', 'email': [], 'timestamp': '2020-11-14 08:47:37', 'website': [], 'address': '新华街迎宾大道西28号(近圆玄道观)', 'adcode': '440114', 'pname': '广东省', 'biz_type': [], 'cityname': '广州市', 'postcode': [], 'match': '0', 'business_area': [], 'indoor_data': {'cmsid': [], 'truefloor': [], 'cpid': [], 'floor': []}, 'childtype': [], 'exit_location': [], 'name': '广东行政职业学院', 'location': '113.186434,23.400286', 'shopid': [], 'navi_poiid': 'F49F008042_3218', 'groupbuy_num': '0'}, {'parent': [], 'distance': [], 'pcode': '440000', 'importance': [], 'biz_ext': {'cost': [], 'rating': []}, 'recommend': '0', 'type': '科教文化服务;学校;高等院校', 'photos': [{'title': [], 'url': 'http://store.is.autonavi.com/showpic/844717a66f6f45f3e8781c27fa387180'}, {'title': [], 'url': 'http://store.is.autonavi.com/showpic/35f81c1dbfce4bdba52389f7c1767b31'}, {'title': [], 'url': 'http://store.is.autonavi.com/showpic/019f49f41a24ce4481b3f19c111ced10'}], 'discount_num': '0', 'gridcode': '3513014600', 'typecode': '141201', 'shopinfo': '0', 'poiweight': [], 'citycode': '020', 'adname': '花都区', 'children': [], 'alias': [], 'tel': '020-86863468', 'id': 'B00140W6FI', 'tag': [], 'event': [], 'entr_location': '113.202664,23.367478', 'indoor_map': '0', 'email': [], 'timestamp': '2020-11-04 00:22:37', 'website': [], 'address': '工业大道东11号', 'adcode': '440114', 'pname': '广东省', 'biz_type': [], 'cityname': '广州市', 'postcode': [], 'match': '0', 'business_area': [], 'indoor_data': {'cmsid': [], 'truefloor': [], 'cpid': [], 'floor': []}, 'childtype': [], 'exit_location': [], 'name': '广东交通职业技术学院花都校区', 'location': '113.203282,23.366957', 'shopid': [], 'navi_poiid': 'F49F008042_198173;128817', 'groupbuy_num': '0'}, {'parent': [], 'distance': [], 'pcode': '440000', 'importance': [], 'biz_ext': {'cost': [], 'rating': '4.0'}, 'recommend': '0', 'type': '科教文化服务;学校;高等院校', 'photos': [{'title': [], 'url': 'http://aos-cdn-image.amap.com/sns/ugccomment/e0732465-f320-4089-a08b-e03396c47afd.jpg'}, {'title': [], 'url': 'http://aos-cdn-image.amap.com/sns/ugccomment/619d453b-771a-457a-a210-25f386a25ce2.jpg'}, {'title': [], 'url': 'http://store.is.autonavi.com/showpic/749e28b0db1817abd2cbbc8caae73522'}], 'discount_num': '0', 'gridcode': '3513034521', 'typecode': '141201', 'shopinfo': '0', 'poiweight': [], 'citycode': '020', 'adname': '白云区', 'children': [], 'alias': '仲恺学院', 'tel': '020-89003030', 'id': 'B00141J9T1', 'tag': [], 'event': [], 'entr_location': '113.44547,23.374207', 'indoor_map': '0', 'email': [], 'timestamp': '2020-11-16 20:20:22', 'website': [], 'address': '广新路388号', 'adcode': '440111', 'pname': '广东省', 'biz_type': [], 'cityname': '广州市', 'postcode': [], 'match': '0', 'business_area': [], 'indoor_data': {'cmsid': [], 'truefloor': [], 'cpid': [], 'floor': []}, 'childtype': [], 'exit_location': [], 'name': '仲恺农业工程学院白云校区', 'location': '113.444768,23.37504', 'shopid': [], 'navi_poiid': 'F49F008044_1175;733', 'groupbuy_num': '0'}, {'parent': 'B0FFJGE87R', 'distance': [], 'pcode': '440000', 'importance': [], 'biz_ext': {'cost': [], 'rating': []}, 'recommend': '0', 'type': '科教文化服务;学校;高等院校', 'photos': [{'title': '内景图', 'url': 'http://store.is.autonavi.com/showpic/10aeb375d7caffddb577941b73276447'}, {'title': '内景图', 'url': 'http://store.is.autonavi.com/showpic/015ad788f1d27854e0686b7b57d58877'}, {'title': '外景图', 'url': 'http://store.is.autonavi.com/showpic/ac7f13c04a5e9d6b281e7758049cc2e2'}], 'discount_num': '0', 'gridcode': '3413437120', 'typecode': '141201', 'shopinfo': '0', 'poiweight': [], 'citycode': '020', 'adname': '番禺区', 'children': [], 'alias': '中山大学东校区', 'tel': '020-39332007', 'id': 'B00140BD3O', 'tag': [], 'event': [], 'entr_location': '113.391536,23.071431', 'indoor_map': '0', 'email': [], 'timestamp': '2020-11-13 21:08:59', 'website': [], 'address': '大学城外环东路132号', 'adcode': '440113', 'pname': '广东省', 'biz_type': [], 'cityname': '广州市', 'postcode': [], 'match': '0', 'business_area': [], 'indoor_data': {'cmsid': [], 'truefloor': [], 'cpid': [], 'floor': []}, 'childtype': '309', 'exit_location': [], 'name': '中山大学广州校区东校园', 'location': '113.391786,23.067691', 'shopid': [], 'navi_poiid': 'F49F012044_792', 'groupbuy_num': '0'}, {'parent': [], 'distance': [], 'pcode': '440000', 'importance': [], 'biz_ext': {'cost': [], 'rating': '4.5'}, 'recommend': '0', 'type': '科教文化服务;学校;高等院校', 'photos': [{'title': '内景图', 'url': 'http://store.is.autonavi.com/showpic/f57d697327007bcd701bbf02e27097d2'}, {'title': '内景图', 'url': 'http://store.is.autonavi.com/showpic/9945e4b78eb77126e7a4fd715141e244'}, {'title': '内景图', 'url': 'http://store.is.autonavi.com/showpic/8394efe5a52452e47cdf60e7ce10f571'}], 'discount_num': '0', 'gridcode': '3413531820', 'typecode': '141201', 'shopinfo': '0', 'poiweight': [], 'citycode': '020', 'adname': '黄埔区', 'children': [], 'alias': '广州航海高等专科学校', 'tel': '020-32081599', 'id': 'B00140JHW5', 'tag': [], 'event': [], 'entr_location': '113.478271,23.101759', 'indoor_map': '0', 'email': [], 'timestamp': '2020-11-14 01:07:25', 'website': [], 'address': '红山三路101号', 'adcode': '440112', 'pname': '广东省', 'biz_type': [], 'cityname': '广州市', 'postcode': [], 'match': '0', 'business_area': '红山', 'indoor_data': {'cmsid': [], 'truefloor': [], 'cpid': [], 'floor': []}, 'childtype': [], 'exit_location': [], 'name': '广州航海学院', 'location': '113.478912,23.099956', 'shopid': [], 'navi_poiid': 'F49F011044_92419', 'groupbuy_num': '0'}, {'parent': 'B00141J1R1', 'distance': [], 'pcode': '440000', 'importance': [], 'biz_ext': {'cost': [], 'rating': '3.0'}, 'recommend': '0', 'type': '科教文化服务;学校;高等院校', 'photos': [{'title': [], 'url': 'http://store.is.autonavi.com/showpic/a27a6f27246d4b542c8c239d95814d86'}, {'title': [], 'url': 'http://store.is.autonavi.com/showpic/0be4784b36306c6d49d8b632d79509d7'}, {'title': [], 'url': 'http://store.is.autonavi.com/showpic/2798b4e37cdfca05adb185409af8365a'}], 'discount_num': '0', 'gridcode': '3413627021', 'typecode': '141201', 'shopinfo': '0', 'poiweight': [], 'citycode': '020', 'adname': '白云区', 'children': [], 'alias': [], 'tel': '020-36209655;020-36209026;020-36334265', 'id': 'B001406865', 'tag': [], 'event': [], 'entr_location': '113.256161,23.233588', 'indoor_map': '0', 'email': [], 'timestamp': '2020-11-15 07:04:51', 'website': [], 'address': '夏花路夏茅段', 'adcode': '440111', 'pname': '广东省', 'biz_type': [], 'cityname': '广州市', 'postcode': [], 'match': '0', 'business_area': '石井', 'indoor_data': {'cmsid': [], 'truefloor': [], 'cpid': [], 'floor': []}, 'childtype': '309', 'exit_location': [], 'name': '广东外语外贸大学公开学院', 'location': '113.255095,23.231253', 'shopid': [], 'navi_poiid': 'F49F010042_334143', 'groupbuy_num': '0'}, {'parent': 'B0FFIGLX5N', 'distance': [], 'pcode': '440000', 'importance': [], 'biz_ext': {'cost': [], 'rating': []}, 'recommend': '0', 'type': '科教文化服务;学校;高等院校', 'photos': [{'title': [], 'url': 'http://store.is.autonavi.com/showpic/b7bf8a84d294cdfd127ee305786a6f51'}, {'title': '内景图', 'url': 'http://store.is.autonavi.com/showpic/7f4da15d337745e5ceed0a2a236cd9ff'}, {'title': '外景图', 'url': 'http://store.is.autonavi.com/showpic/41905ff2ae15007897a58637f35ad2ea'}], 'discount_num': '0', 'gridcode': '3413521302', 'typecode': '141201', 'shopinfo': '0', 'poiweight': [], 'citycode': '020', 'adname': '海珠区', 'children': [], 'alias': [], 'tel': '020-84113130', 'id': 'B00140SP8X', 'tag': [], 'event': [], 'entr_location': '113.297398,23.092468', 'indoor_map': '0', 'email': [], 'timestamp': '2020-11-14 12:40:11', 'website': [], 'address': '中山大学东南区258号', 'adcode': '440105', 'pname': '广东省', 'biz_type': [], 'cityname': '广州市', 'postcode': [], 'match': '0', 'business_area': '新港', 'indoor_data': {'cmsid': [], 'truefloor': [], 'cpid': [], 'floor': []}, 'childtype': '309', 'exit_location': [], 'name': '中山大学广州南校区外国语学院', 'location': '113.297711,23.092306', 'shopid': [], 'navi_poiid': 'F49F011043_71650', 'groupbuy_num': '0'}, {'parent': [], 'distance': [], 'pcode': '440000', 'importance': [], 'biz_ext': {'cost': [], 'rating': '3.5'}, 'recommend': '0', 'type': '科教文化服务;学校;高等院校', 'photos': [{'title': [], 'url': 'http://store.is.autonavi.com/showpic/0e59f6ad64edca40d4b3de0dc1525248'}, {'title': [], 'url': 'http://store.is.autonavi.com/showpic/606d077e3f765f1d341ece091aa0e2ea'}, {'title': [], 'url': 'http://store.is.autonavi.com/showpic/bdbb98c47c0bfe2a5fca3809cf0a5f9a'}], 'discount_num': '0', 'gridcode': '3413538221', 'typecode': '141201', 'shopinfo': '0', 'poiweight': [], 'citycode': '020', 'adname': '天河区', 'children': [], 'alias': [], 'tel': '020-82373721;15889606200', 'id': 'B00140UG7N', 'tag': [], 'event': [], 'entr_location': '113.406433,23.155093', 'indoor_map': '0', 'email': [], 'timestamp': '2020-11-17 22:23:12', 'website': [], 'address': '东圃镇小新塘合景路99号', 'adcode': '440106', 'pname': '广东省', 'biz_type': [], 'cityname': '广州市', 'postcode': [], 'match': '0', 'business_area': [], 'indoor_data': {'cmsid': [], 'truefloor': [], 'cpid': [], 'floor': []}, 'childtype': [], 'exit_location': [], 'name': '私立华联学院', 'location': '113.405272,23.15754', 'shopid': [], 'navi_poiid': 'F49F011044_300726;693726;776267', 'groupbuy_num': '0'}, {'parent': [], 'distance': [], 'pcode': '440000', 'importance': [], 'biz_ext': {'cost': [], 'rating': '3.0'}, 'recommend': '0', 'type': '科教文化服务;学校;高等院校', 'photos': [{'title': [], 'url': 'http://store.is.autonavi.com/showpic/d89f119f384bf8c108ab81bce53ce41f'}, {'title': '广东行政学院', 'url': 'http://store.is.autonavi.com/showpic/1f1f7377c87acad898e7f0476c09b281'}], 'discount_num': '0', 'gridcode': '3413525221', 'typecode': '141201', 'shopinfo': '0', 'poiweight': [], 'citycode': '020', 'adname': '越秀区', 'children': [], 'alias': [], 'tel': '020-83122213;020-83122800', 'id': 'B00140UETB', 'tag': [], 'event': [], 'entr_location': '113.28108,23.132427', 'indoor_map': '0', 'email': [], 'timestamp': '2020-11-14 09:36:42', 'website': [], 'address': '建设大马路3号', 'adcode': '440104', 'pname': '广东省', 'biz_type': [], 'cityname': '广州市', 'postcode': [], 'match': '0', 'business_area': '东风', 'indoor_data': {'cmsid': [], 'truefloor': [], 'cpid': [], 'floor': []}, 'childtype': [], 'exit_location': [], 'name': '广东行政学院', 'location': '113.28018,23.132573', 'shopid': [], 'navi_poiid': 'F49F011043_67297', 'groupbuy_num': '0'}, {'parent': 'B0FFFQH7AQ', 'distance': [], 'pcode': '440000', 'importance': [], 'biz_ext': {'cost': [], 'rating': '3.5'}, 'recommend': '0', 'type': '科教文化服务;学校;高等院校', 'photos': [{'title': [], 'url': 'http://store.is.autonavi.com/showpic/4a6aa3d0d5736dd31ca218ae9f1e2bd1'}, {'title': '门头照', 'url': 'http://store.is.autonavi.com/showpic/37ef49c6a24d050c29782b04678ee94e'}, {'title': '门头照', 'url': 'http://store.is.autonavi.com/showpic/ab5437264c42af705dd571939362ae48'}], 'discount_num': '0', 'gridcode': '3413620511', 'typecode': '141201', 'shopinfo': '0', 'poiweight': [], 'citycode': '020', 'adname': '天河区', 'children': [], 'alias': [], 'tel': '020-87706176', 'id': 'B00140WEXT', 'tag': [], 'event': [], 'entr_location': '113.318294,23.171637', 'indoor_map': '0', 'email': [], 'timestamp': '2020-11-14 02:31:53', 'website': [], 'address': '广州大道北963', 'adcode': '440106', 'pname': '广东省', 'biz_type': [], 'cityname': '广州市', 'postcode': [], 'match': '0', 'business_area': [], 'indoor_data': {'cmsid': [], 'truefloor': [], 'cpid': [], 'floor': []}, 'childtype': '0', 'exit_location': [], 'name': '广东工贸职业技术学院(西区)', 'location': '113.317813,23.171841', 'shopid': [], 'navi_poiid': 'F49F010043_298365', 'groupbuy_num': '0'}, {'parent': [], 'distance': [], 'pcode': '440000', 'importance': [], 'biz_ext': {'cost': [], 'rating': []}, 'recommend': '0', 'type': '科教文化服务;学校;高等院校', 'photos': [{'title': '外景图', 'url': 'http://store.is.autonavi.com/showpic/193f527ae97eb298d2347bd7b4cdf680'}, {'title': '外景图', 'url': 'http://store.is.autonavi.com/showpic/6d52ea1d25f8ef61066142673512b6da'}, {'title': '外景图', 'url': 'http://store.is.autonavi.com/showpic/960da4a1f1b4e744316f603e21bc9da4'}], 'discount_num': '0', 'gridcode': '3513241611', 'typecode': '141201', 'shopinfo': '0', 'poiweight': [], 'citycode': '020', 'adname': '从化区', 'children': [], 'alias': '从化珠江学院|广东技术师范学院翻译学院|珠江学院', 'tel': '020-87979603;020-87975122;020-87981811', 'id': 'B00140V23H', 'tag': [], 'event': [], 'entr_location': '113.578611,23.513988', 'indoor_map': '0', 'email': [], 'timestamp': '2020-11-16 20:40:00', 'website': [], 'address': '江浦街广从北路2004号', 'adcode': '440117', 'pname': '广东省', 'biz_type': [], 'cityname': '广州市', 'postcode': [], 'match': '0', 'business_area': [], 'indoor_data': {'cmsid': [], 'truefloor': [], 'cpid': [], 'floor': []}, 'childtype': [], 'exit_location': [], 'name': '华南农业大学珠江学院', 'location': '113.580936,23.511761', 'shopid': [], 'navi_poiid': 'F49F006045_115762', 'groupbuy_num': '0'}, {'parent': [], 'distance': [], 'pcode': '440000', 'importance': [], 'biz_ext': {'cost': [], 'rating': '4.0'}, 'recommend': '0', 'type': '科教文化服务;学校;高等院校', 'photos': [{'title': [], 'url': 'http://store.is.autonavi.com/showpic/7b38696db982d65a2b6b66f7d4f01e4b'}, {'title': '外景图', 'url': 'http://store.is.autonavi.com/showpic/12defcd885ea2b0224daa83e2a16c63e'}, {'title': [], 'url': 'http://store.is.autonavi.com/showpic/23eb8df2941223cc2c2b9f94ffd61fd3'}], 'discount_num': '0', 'gridcode': '3413521400', 'typecode': '141201', 'shopinfo': '0', 'poiweight': [], 'citycode': '020', 'adname': '海珠区', 'children': [], 'alias': [], 'tel': '020-61230389;020-34300255', 'id': 'B001403B2C', 'tag': [], 'event': [], 'entr_location': '113.299566,23.091157', 'indoor_map': '0', 'email': [], 'timestamp': '2020-11-17 03:58:21', 'website': [], 'address': '新港西路152号', 'adcode': '440105', 'pname': '广东省', 'biz_type': [], 'cityname': '广州市', 'postcode': [], 'match': '0', 'business_area': '新港', 'indoor_data': {'cmsid': [], 'truefloor': [], 'cpid': [], 'floor': []}, 'childtype': [], 'exit_location': [], 'name': '广东轻工职业技术学院新港校区', 'location': '113.30328,23.091727', 'shopid': [], 'navi_poiid': 'F49F011043_38391', 'groupbuy_num': '0'}, {'parent': [], 'distance': [], 'pcode': '440000', 'importance': [], 'biz_ext': {'cost': [], 'rating': '3.0'}, 'recommend': '0', 'type': '科教文化服务;学校;高等院校', 'photos': [{'title': [], 'url': 'http://store.is.autonavi.com/showpic/7ccf8c5859a0694ca89b0fd621c6a904'}, {'title': '内景图', 'url': 'http://store.is.autonavi.com/showpic/7cdd0506d4bcfc6554eead641ec78167'}, {'title': '内景图', 'url': 'http://store.is.autonavi.com/showpic/27cb928199ea6b3af307d38600bd98a9'}], 'discount_num': '0', 'gridcode': '3413527812', 'typecode': '141201', 'shopinfo': '0', 'poiweight': [], 'citycode': '020', 'adname': '天河区', 'children': [], 'alias': [], 'tel': '020-85292581;020-85291645', 'id': 'B00140CHGL', 'tag': [], 'event': [], 'entr_location': '113.362198,23.144577', 'indoor_map': '0', 'email': [], 'timestamp': '2020-11-15 06:56:04', 'website': [], 'address': '科华街273号', 'adcode': '440106', 'pname': '广东省', 'biz_type': [], 'cityname': '广州市', 'postcode': [], 'match': '0', 'business_area': '五山', 'indoor_data': {'cmsid': [], 'truefloor': [], 'cpid': [], 'floor': []}, 'childtype': [], 'exit_location': [], 'name': '广东科贸职业学院(天河校区)', 'location': '113.362616,23.145034', 'shopid': [], 'navi_poiid': 'F49F011043_3269', 'groupbuy_num': '0'}, {'parent': [], 'distance': [], 'pcode': '440000', 'importance': [], 'biz_ext': {'cost': [], 'rating': '3.0'}, 'recommend': '0', 'type': '科教文化服务;学校;高等院校', 'photos': [{'title': [], 'url': 'http://store.is.autonavi.com/showpic/a6196636df12f10ab4e6c01a51e68238'}, {'title': '内景图', 'url': 'http://store.is.autonavi.com/showpic/8f44644b619da2224e570cf345aa5bd1'}], 'discount_num': '0', 'gridcode': '3413419911', 'typecode': '141201', 'shopinfo': '0', 'poiweight': [], 'citycode': '020', 'adname': '荔湾区', 'children': [], 'alias': [], 'tel': '020-81581435', 'id': 'B00140V26O', 'tag': [], 'event': [], 'entr_location': '113.241441,23.078997', 'indoor_map': '0', 'email': [], 'timestamp': '2020-11-17 01:39:33', 'website': [], 'address': '鹤建里七巷4号', 'adcode': '440103', 'pname': '广东省', 'biz_type': [], 'cityname': '广州市', 'postcode': '510380', 'match': '0', 'business_area': [], 'indoor_data': {'cmsid': [], 'truefloor': [], 'cpid': [], 'floor': []}, 'childtype': [], 'exit_location': [], 'name': '广州市工贸技师学院(南校区)', 'location': '113.242199,23.078649', 'shopid': [], 'navi_poiid': 'F49F012042_118571', 'groupbuy_num': '0'}, {'parent': [], 'distance': [], 'pcode': '440000', 'importance': [], 'biz_ext': {'cost': [], 'rating': '3.0'}, 'recommend': '0', 'type': '科教文化服务;学校;高等院校', 'photos': [{'title': [], 'url': 'http://store.is.autonavi.com/showpic/814752aee447d0e78423deebdb15221a'}, {'title': [], 'url': 'http://store.is.autonavi.com/showpic/f109e9c20f80402e207077ab7c5be9db'}, {'title': '外景图', 'url': 'http://store.is.autonavi.com/showpic/539e7c064764a70ad1bfd7cdfd2b93a2'}], 'discount_num': '0', 'gridcode': '3413524222', 'typecode': '141201', 'shopinfo': '0', 'poiweight': [], 'citycode': '020', 'adname': '越秀区', 'children': [], 'alias': '广州工程技术学院', 'tel': '020-87663584', 'id': 'B00140B0O8', 'tag': [], 'event': [], 'entr_location': '113.286521,23.123804', 'indoor_map': '0', 'email': [], 'timestamp': '2020-11-15 16:18:01', 'website': [], 'address': '东川路94号', 'adcode': '440104', 'pname': '广东省', 'biz_type': [], 'cityname': '广州市', 'postcode': [], 'match': '0', 'business_area': '东川', 'indoor_data': {'cmsid': [], 'truefloor': [], 'cpid': [], 'floor': []}, 'childtype': [], 'exit_location': [], 'name': '广州工程技术职业学院东川校区', 'location': '113.28695,23.123763', 'shopid': [], 'navi_poiid': 'F49F011043_140814', 'groupbuy_num': '0'}, {'parent': 'B0FFF3A3EP', 'distance': [], 'pcode': '440000', 'importance': [], 'biz_ext': {'cost': [], 'rating': '4.5'}, 'recommend': '0', 'type': '科教文化服务;学校;高等院校', 'photos': [{'title': '外景图', 'url': 'http://store.is.autonavi.com/showpic/3a9d484499cf1ebc2deca61ea86887ad'}, {'title': '外景图', 'url': 'http://store.is.autonavi.com/showpic/1e3ab722ae76d271d905548aecc7f82a'}, {'title': '内景图', 'url': 'http://store.is.autonavi.com/showpic/064665941d813530ddb2578a554d3cf1'}], 'discount_num': '0', 'gridcode': '3413522222', 'typecode': '141201', 'shopinfo': '0', 'poiweight': [], 'citycode': '020', 'adname': '海珠区', 'children': [], 'alias': [], 'tel': '020-89669007', 'id': 'B00140T4N5', 'tag': [], 'event': [], 'entr_location': '113.28339,23.106307', 'indoor_map': '0', 'email': [], 'timestamp': '2020-11-14 09:47:52', 'website': [], 'address': '远安新街75号', 'adcode': '440105', 'pname': '广东省', 'biz_type': [], 'cityname': '广州市', 'postcode': [], 'match': '0', 'business_area': '滨江', 'indoor_data': {'cmsid': [], 'truefloor': [], 'cpid': [], 'floor': []}, 'childtype': '0', 'exit_location': [], 'name': '广州城市职业学院滨江校区', 'location': '113.283569,23.105616', 'shopid': [], 'navi_poiid': 'F49F011043_10418', 'groupbuy_num': '0'}, {'parent': [], 'distance': [], 'pcode': '440000', 'importance': [], 'biz_ext': {'cost': [], 'rating': '4.5'}, 'recommend': '0', 'type': '科教文化服务;学校;高等院校', 'photos': [{'title': [], 'url': 'http://store.is.autonavi.com/showpic/808b2fecb61ca0b62325962f56334d97'}, {'title': [], 'url': 'http://store.is.autonavi.com/showpic/94868c12ef003864f8921c7c5e05cd02'}, {'title': [], 'url': 'http://store.is.autonavi.com/showpic/31c3e6867fa01520ad25a9e8e6bafc70'}], 'discount_num': '0', 'gridcode': '3413521521', 'typecode': '141201', 'shopinfo': '0', 'poiweight': [], 'citycode': '020', 'adname': '海珠区', 'children': [], 'alias': '广东教育学院|广二师范', 'tel': '020-34113231;020-34113372', 'id': 'B00141I9XN', 'tag': [], 'event': [], 'entr_location': '113.315480,23.097858', 'indoor_map': '0', 'email': [], 'timestamp': '2020-11-14 15:06:15', 'website': [], 'address': '新港中路351号(近客村立交)', 'adcode': '440105', 'pname': '广东省', 'biz_type': [], 'cityname': '广州市', 'postcode': [], 'match': '0', 'business_area': '新港', 'indoor_data': {'cmsid': [], 'truefloor': [], 'cpid': [], 'floor': []}, 'childtype': [], 'exit_location': [], 'name': '广东第二师范学院海珠校区', 'location': '113.317227,23.098657', 'shopid': [], 'navi_poiid': 'F49F011043_175836', 'groupbuy_num': '0'}, {'parent': [], 'distance': [], 'pcode': '440000', 'importance': [], 'biz_ext': {'cost': [], 'rating': '4.0'}, 'recommend': '0', 'type': '科教文化服务;学校;高等院校', 'photos': [{'title': [], 'url': 'http://store.is.autonavi.com/showpic/e0d3dd9f7f383fa557afbe5033e8243e'}, {'title': [], 'url': 'http://store.is.autonavi.com/showpic/40f12934115b711197b9d11f69e606e8'}, {'title': [], 'url': 'http://store.is.autonavi.com/showpic/299b2c6851123e46f974f8d7307c4843'}], 'discount_num': '0', 'gridcode': '3413430101', 'typecode': '141201', 'shopinfo': '0', 'poiweight': [], 'citycode': '020', 'adname': '番禺区', 'children': [], 'alias': [], 'tel': '020-84567636', 'id': 'B00140MVIL', 'tag': [], 'event': [], 'entr_location': '113.394828,23.001374', 'indoor_map': '0', 'email': [], 'timestamp': '2020-11-17 00:34:56', 'website': [], 'address': '南村镇市新路北段669号', 'adcode': '440113', 'pname': '广东省', 'biz_type': [], 'cityname': '广州市', 'postcode': [], 'match': '0', 'business_area': [], 'indoor_data': {'cmsid': [], 'truefloor': [], 'cpid': [], 'floor': []}, 'childtype': [], 'exit_location': [], 'name': '广州科技贸易职业学院', 'location': '113.392424,23.00025', 'shopid': [], 'navi_poiid': 'F49F012044_227', 'groupbuy_num': '0'}, {'parent': 'B0FFGH24MR', 'distance': [], 'pcode': '440000', 'importance': [], 'biz_ext': {'cost': [], 'rating': []}, 'recommend': '0', 'type': '科教文化服务;学校;高等院校', 'photos': [{'title': [], 'url': 'http://store.is.autonavi.com/showpic/5bcd7fd108a94903d0960047b05d5931'}], 'discount_num': '0', 'gridcode': '3413528601', 'typecode': '141201', 'shopinfo': '0', 'poiweight': [], 'citycode': '020', 'adname': '天河区', 'children': [], 'alias': [], 'tel': '020-87205961;020-87206254', 'id': 'B00140CHIC', 'tag': [], 'event': [], 'entr_location': '113.330458,23.150107', 'indoor_map': '0', 'email': [], 'timestamp': '2020-11-17 02:53:47', 'website': [], 'address': '瘦狗岭路377号', 'adcode': '440106', 'pname': '广东省', 'biz_type': [], 'cityname': '广州市', 'postcode': [], 'match': '0', 'business_area': '五山', 'indoor_data': {'cmsid': [], 'truefloor': [], 'cpid': [], 'floor': []}, 'childtype': '309', 'exit_location': [], 'name': '暨南大学华文学院', 'location': '113.331995,23.151673', 'shopid': [], 'navi_poiid': 'F49F011043_31995;319681', 'groupbuy_num': '0'}, {'parent': [], 'distance': [], 'pcode': '440000', 'importance': [], 'biz_ext': {'cost': [], 'rating': '3.5'}, 'recommend': '0', 'type': '科教文化服务;学校;高等院校', 'photos': [{'title': '外景图', 'url': 'http://store.is.autonavi.com/showpic/cb8f9da97d8bd8b2c4e21c2cf45e1501'}, {'title': '外景图', 'url': 'http://store.is.autonavi.com/showpic/ae97ea054d5ea25d37266808bb021e8a'}, {'title': [], 'url': 'http://store.is.autonavi.com/showpic/56416599b1143cb3f80bd9657d248b7b'}], 'discount_num': '0', 'gridcode': '3413528220', 'typecode': '141201', 'shopinfo': '0', 'poiweight': [], 'citycode': '020', 'adname': '白云区', 'children': [], 'alias': [], 'tel': '020-86375471;020-86374495', 'id': 'B00140M5VZ', 'tag': [], 'event': [], 'entr_location': '113.274553,23.158409', 'indoor_map': '0', 'email': [], 'timestamp': '2020-11-16 23:07:01', 'website': [], 'address': '广园中路248号', 'adcode': '440111', 'pname': '广东省', 'biz_type': [], 'cityname': '广州市', 'postcode': [], 'match': '0', 'business_area': [], 'indoor_data': {'cmsid': [], 'truefloor': [], 'cpid': [], 'floor': []}, 'childtype': [], 'exit_location': [], 'name': '广州城市职业学院南校区', 'location': '113.27505,23.15633', 'shopid': [], 'navi_poiid': [], 'groupbuy_num': '0'}], 'status': '1', 'info': 'OK'}\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>parent</th>\n",
       "      <th>distance</th>\n",
       "      <th>pcode</th>\n",
       "      <th>importance</th>\n",
       "      <th>recommend</th>\n",
       "      <th>type</th>\n",
       "      <th>photos</th>\n",
       "      <th>discount_num</th>\n",
       "      <th>gridcode</th>\n",
       "      <th>typecode</th>\n",
       "      <th>...</th>\n",
       "      <th>location</th>\n",
       "      <th>shopid</th>\n",
       "      <th>navi_poiid</th>\n",
       "      <th>groupbuy_num</th>\n",
       "      <th>biz_ext.cost</th>\n",
       "      <th>biz_ext.rating</th>\n",
       "      <th>indoor_data.cmsid</th>\n",
       "      <th>indoor_data.truefloor</th>\n",
       "      <th>indoor_data.cpid</th>\n",
       "      <th>indoor_data.floor</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>440000</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "      <td>科教文化服务;学校;高等院校</td>\n",
       "      <td>[{'title': [], 'url': 'http://store.is.autonav...</td>\n",
       "      <td>0</td>\n",
       "      <td>3513018402</td>\n",
       "      <td>141201</td>\n",
       "      <td>...</td>\n",
       "      <td>113.186434,23.400286</td>\n",
       "      <td>[]</td>\n",
       "      <td>F49F008042_3218</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>3.0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>440000</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "      <td>科教文化服务;学校;高等院校</td>\n",
       "      <td>[{'title': [], 'url': 'http://store.is.autonav...</td>\n",
       "      <td>0</td>\n",
       "      <td>3513014600</td>\n",
       "      <td>141201</td>\n",
       "      <td>...</td>\n",
       "      <td>113.203282,23.366957</td>\n",
       "      <td>[]</td>\n",
       "      <td>F49F008042_198173;128817</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>440000</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "      <td>科教文化服务;学校;高等院校</td>\n",
       "      <td>[{'title': [], 'url': 'http://aos-cdn-image.am...</td>\n",
       "      <td>0</td>\n",
       "      <td>3513034521</td>\n",
       "      <td>141201</td>\n",
       "      <td>...</td>\n",
       "      <td>113.444768,23.37504</td>\n",
       "      <td>[]</td>\n",
       "      <td>F49F008044_1175;733</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>4.0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>B0FFJGE87R</td>\n",
       "      <td>[]</td>\n",
       "      <td>440000</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "      <td>科教文化服务;学校;高等院校</td>\n",
       "      <td>[{'title': '内景图', 'url': 'http://store.is.auto...</td>\n",
       "      <td>0</td>\n",
       "      <td>3413437120</td>\n",
       "      <td>141201</td>\n",
       "      <td>...</td>\n",
       "      <td>113.391786,23.067691</td>\n",
       "      <td>[]</td>\n",
       "      <td>F49F012044_792</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>440000</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "      <td>科教文化服务;学校;高等院校</td>\n",
       "      <td>[{'title': '内景图', 'url': 'http://store.is.auto...</td>\n",
       "      <td>0</td>\n",
       "      <td>3413531820</td>\n",
       "      <td>141201</td>\n",
       "      <td>...</td>\n",
       "      <td>113.478912,23.099956</td>\n",
       "      <td>[]</td>\n",
       "      <td>F49F011044_92419</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>4.5</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>B00141J1R1</td>\n",
       "      <td>[]</td>\n",
       "      <td>440000</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "      <td>科教文化服务;学校;高等院校</td>\n",
       "      <td>[{'title': [], 'url': 'http://store.is.autonav...</td>\n",
       "      <td>0</td>\n",
       "      <td>3413627021</td>\n",
       "      <td>141201</td>\n",
       "      <td>...</td>\n",
       "      <td>113.255095,23.231253</td>\n",
       "      <td>[]</td>\n",
       "      <td>F49F010042_334143</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>3.0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>B0FFIGLX5N</td>\n",
       "      <td>[]</td>\n",
       "      <td>440000</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "      <td>科教文化服务;学校;高等院校</td>\n",
       "      <td>[{'title': [], 'url': 'http://store.is.autonav...</td>\n",
       "      <td>0</td>\n",
       "      <td>3413521302</td>\n",
       "      <td>141201</td>\n",
       "      <td>...</td>\n",
       "      <td>113.297711,23.092306</td>\n",
       "      <td>[]</td>\n",
       "      <td>F49F011043_71650</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>440000</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "      <td>科教文化服务;学校;高等院校</td>\n",
       "      <td>[{'title': [], 'url': 'http://store.is.autonav...</td>\n",
       "      <td>0</td>\n",
       "      <td>3413538221</td>\n",
       "      <td>141201</td>\n",
       "      <td>...</td>\n",
       "      <td>113.405272,23.15754</td>\n",
       "      <td>[]</td>\n",
       "      <td>F49F011044_300726;693726;776267</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>3.5</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>440000</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "      <td>科教文化服务;学校;高等院校</td>\n",
       "      <td>[{'title': [], 'url': 'http://store.is.autonav...</td>\n",
       "      <td>0</td>\n",
       "      <td>3413525221</td>\n",
       "      <td>141201</td>\n",
       "      <td>...</td>\n",
       "      <td>113.28018,23.132573</td>\n",
       "      <td>[]</td>\n",
       "      <td>F49F011043_67297</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>3.0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>B0FFFQH7AQ</td>\n",
       "      <td>[]</td>\n",
       "      <td>440000</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "      <td>科教文化服务;学校;高等院校</td>\n",
       "      <td>[{'title': [], 'url': 'http://store.is.autonav...</td>\n",
       "      <td>0</td>\n",
       "      <td>3413620511</td>\n",
       "      <td>141201</td>\n",
       "      <td>...</td>\n",
       "      <td>113.317813,23.171841</td>\n",
       "      <td>[]</td>\n",
       "      <td>F49F010043_298365</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>3.5</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>440000</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "      <td>科教文化服务;学校;高等院校</td>\n",
       "      <td>[{'title': '外景图', 'url': 'http://store.is.auto...</td>\n",
       "      <td>0</td>\n",
       "      <td>3513241611</td>\n",
       "      <td>141201</td>\n",
       "      <td>...</td>\n",
       "      <td>113.580936,23.511761</td>\n",
       "      <td>[]</td>\n",
       "      <td>F49F006045_115762</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>440000</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "      <td>科教文化服务;学校;高等院校</td>\n",
       "      <td>[{'title': [], 'url': 'http://store.is.autonav...</td>\n",
       "      <td>0</td>\n",
       "      <td>3413521400</td>\n",
       "      <td>141201</td>\n",
       "      <td>...</td>\n",
       "      <td>113.30328,23.091727</td>\n",
       "      <td>[]</td>\n",
       "      <td>F49F011043_38391</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>4.0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>440000</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "      <td>科教文化服务;学校;高等院校</td>\n",
       "      <td>[{'title': [], 'url': 'http://store.is.autonav...</td>\n",
       "      <td>0</td>\n",
       "      <td>3413527812</td>\n",
       "      <td>141201</td>\n",
       "      <td>...</td>\n",
       "      <td>113.362616,23.145034</td>\n",
       "      <td>[]</td>\n",
       "      <td>F49F011043_3269</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>3.0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>440000</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "      <td>科教文化服务;学校;高等院校</td>\n",
       "      <td>[{'title': [], 'url': 'http://store.is.autonav...</td>\n",
       "      <td>0</td>\n",
       "      <td>3413419911</td>\n",
       "      <td>141201</td>\n",
       "      <td>...</td>\n",
       "      <td>113.242199,23.078649</td>\n",
       "      <td>[]</td>\n",
       "      <td>F49F012042_118571</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>3.0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>440000</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "      <td>科教文化服务;学校;高等院校</td>\n",
       "      <td>[{'title': [], 'url': 'http://store.is.autonav...</td>\n",
       "      <td>0</td>\n",
       "      <td>3413524222</td>\n",
       "      <td>141201</td>\n",
       "      <td>...</td>\n",
       "      <td>113.28695,23.123763</td>\n",
       "      <td>[]</td>\n",
       "      <td>F49F011043_140814</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>3.0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>B0FFF3A3EP</td>\n",
       "      <td>[]</td>\n",
       "      <td>440000</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "      <td>科教文化服务;学校;高等院校</td>\n",
       "      <td>[{'title': '外景图', 'url': 'http://store.is.auto...</td>\n",
       "      <td>0</td>\n",
       "      <td>3413522222</td>\n",
       "      <td>141201</td>\n",
       "      <td>...</td>\n",
       "      <td>113.283569,23.105616</td>\n",
       "      <td>[]</td>\n",
       "      <td>F49F011043_10418</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>4.5</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>440000</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "      <td>科教文化服务;学校;高等院校</td>\n",
       "      <td>[{'title': [], 'url': 'http://store.is.autonav...</td>\n",
       "      <td>0</td>\n",
       "      <td>3413521521</td>\n",
       "      <td>141201</td>\n",
       "      <td>...</td>\n",
       "      <td>113.317227,23.098657</td>\n",
       "      <td>[]</td>\n",
       "      <td>F49F011043_175836</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>4.5</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>440000</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "      <td>科教文化服务;学校;高等院校</td>\n",
       "      <td>[{'title': [], 'url': 'http://store.is.autonav...</td>\n",
       "      <td>0</td>\n",
       "      <td>3413430101</td>\n",
       "      <td>141201</td>\n",
       "      <td>...</td>\n",
       "      <td>113.392424,23.00025</td>\n",
       "      <td>[]</td>\n",
       "      <td>F49F012044_227</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>4.0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>B0FFGH24MR</td>\n",
       "      <td>[]</td>\n",
       "      <td>440000</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "      <td>科教文化服务;学校;高等院校</td>\n",
       "      <td>[{'title': [], 'url': 'http://store.is.autonav...</td>\n",
       "      <td>0</td>\n",
       "      <td>3413528601</td>\n",
       "      <td>141201</td>\n",
       "      <td>...</td>\n",
       "      <td>113.331995,23.151673</td>\n",
       "      <td>[]</td>\n",
       "      <td>F49F011043_31995;319681</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>440000</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "      <td>科教文化服务;学校;高等院校</td>\n",
       "      <td>[{'title': '外景图', 'url': 'http://store.is.auto...</td>\n",
       "      <td>0</td>\n",
       "      <td>3413528220</td>\n",
       "      <td>141201</td>\n",
       "      <td>...</td>\n",
       "      <td>113.27505,23.15633</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>3.5</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>20 rows × 46 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "        parent distance   pcode importance recommend            type  \\\n",
       "0           []       []  440000         []         0  科教文化服务;学校;高等院校   \n",
       "1           []       []  440000         []         0  科教文化服务;学校;高等院校   \n",
       "2           []       []  440000         []         0  科教文化服务;学校;高等院校   \n",
       "3   B0FFJGE87R       []  440000         []         0  科教文化服务;学校;高等院校   \n",
       "4           []       []  440000         []         0  科教文化服务;学校;高等院校   \n",
       "5   B00141J1R1       []  440000         []         0  科教文化服务;学校;高等院校   \n",
       "6   B0FFIGLX5N       []  440000         []         0  科教文化服务;学校;高等院校   \n",
       "7           []       []  440000         []         0  科教文化服务;学校;高等院校   \n",
       "8           []       []  440000         []         0  科教文化服务;学校;高等院校   \n",
       "9   B0FFFQH7AQ       []  440000         []         0  科教文化服务;学校;高等院校   \n",
       "10          []       []  440000         []         0  科教文化服务;学校;高等院校   \n",
       "11          []       []  440000         []         0  科教文化服务;学校;高等院校   \n",
       "12          []       []  440000         []         0  科教文化服务;学校;高等院校   \n",
       "13          []       []  440000         []         0  科教文化服务;学校;高等院校   \n",
       "14          []       []  440000         []         0  科教文化服务;学校;高等院校   \n",
       "15  B0FFF3A3EP       []  440000         []         0  科教文化服务;学校;高等院校   \n",
       "16          []       []  440000         []         0  科教文化服务;学校;高等院校   \n",
       "17          []       []  440000         []         0  科教文化服务;学校;高等院校   \n",
       "18  B0FFGH24MR       []  440000         []         0  科教文化服务;学校;高等院校   \n",
       "19          []       []  440000         []         0  科教文化服务;学校;高等院校   \n",
       "\n",
       "                                               photos discount_num  \\\n",
       "0   [{'title': [], 'url': 'http://store.is.autonav...            0   \n",
       "1   [{'title': [], 'url': 'http://store.is.autonav...            0   \n",
       "2   [{'title': [], 'url': 'http://aos-cdn-image.am...            0   \n",
       "3   [{'title': '内景图', 'url': 'http://store.is.auto...            0   \n",
       "4   [{'title': '内景图', 'url': 'http://store.is.auto...            0   \n",
       "5   [{'title': [], 'url': 'http://store.is.autonav...            0   \n",
       "6   [{'title': [], 'url': 'http://store.is.autonav...            0   \n",
       "7   [{'title': [], 'url': 'http://store.is.autonav...            0   \n",
       "8   [{'title': [], 'url': 'http://store.is.autonav...            0   \n",
       "9   [{'title': [], 'url': 'http://store.is.autonav...            0   \n",
       "10  [{'title': '外景图', 'url': 'http://store.is.auto...            0   \n",
       "11  [{'title': [], 'url': 'http://store.is.autonav...            0   \n",
       "12  [{'title': [], 'url': 'http://store.is.autonav...            0   \n",
       "13  [{'title': [], 'url': 'http://store.is.autonav...            0   \n",
       "14  [{'title': [], 'url': 'http://store.is.autonav...            0   \n",
       "15  [{'title': '外景图', 'url': 'http://store.is.auto...            0   \n",
       "16  [{'title': [], 'url': 'http://store.is.autonav...            0   \n",
       "17  [{'title': [], 'url': 'http://store.is.autonav...            0   \n",
       "18  [{'title': [], 'url': 'http://store.is.autonav...            0   \n",
       "19  [{'title': '外景图', 'url': 'http://store.is.auto...            0   \n",
       "\n",
       "      gridcode typecode  ...              location shopid  \\\n",
       "0   3513018402   141201  ...  113.186434,23.400286     []   \n",
       "1   3513014600   141201  ...  113.203282,23.366957     []   \n",
       "2   3513034521   141201  ...   113.444768,23.37504     []   \n",
       "3   3413437120   141201  ...  113.391786,23.067691     []   \n",
       "4   3413531820   141201  ...  113.478912,23.099956     []   \n",
       "5   3413627021   141201  ...  113.255095,23.231253     []   \n",
       "6   3413521302   141201  ...  113.297711,23.092306     []   \n",
       "7   3413538221   141201  ...   113.405272,23.15754     []   \n",
       "8   3413525221   141201  ...   113.28018,23.132573     []   \n",
       "9   3413620511   141201  ...  113.317813,23.171841     []   \n",
       "10  3513241611   141201  ...  113.580936,23.511761     []   \n",
       "11  3413521400   141201  ...   113.30328,23.091727     []   \n",
       "12  3413527812   141201  ...  113.362616,23.145034     []   \n",
       "13  3413419911   141201  ...  113.242199,23.078649     []   \n",
       "14  3413524222   141201  ...   113.28695,23.123763     []   \n",
       "15  3413522222   141201  ...  113.283569,23.105616     []   \n",
       "16  3413521521   141201  ...  113.317227,23.098657     []   \n",
       "17  3413430101   141201  ...   113.392424,23.00025     []   \n",
       "18  3413528601   141201  ...  113.331995,23.151673     []   \n",
       "19  3413528220   141201  ...    113.27505,23.15633     []   \n",
       "\n",
       "                         navi_poiid groupbuy_num biz_ext.cost biz_ext.rating  \\\n",
       "0                   F49F008042_3218            0           []            3.0   \n",
       "1          F49F008042_198173;128817            0           []             []   \n",
       "2               F49F008044_1175;733            0           []            4.0   \n",
       "3                    F49F012044_792            0           []             []   \n",
       "4                  F49F011044_92419            0           []            4.5   \n",
       "5                 F49F010042_334143            0           []            3.0   \n",
       "6                  F49F011043_71650            0           []             []   \n",
       "7   F49F011044_300726;693726;776267            0           []            3.5   \n",
       "8                  F49F011043_67297            0           []            3.0   \n",
       "9                 F49F010043_298365            0           []            3.5   \n",
       "10                F49F006045_115762            0           []             []   \n",
       "11                 F49F011043_38391            0           []            4.0   \n",
       "12                  F49F011043_3269            0           []            3.0   \n",
       "13                F49F012042_118571            0           []            3.0   \n",
       "14                F49F011043_140814            0           []            3.0   \n",
       "15                 F49F011043_10418            0           []            4.5   \n",
       "16                F49F011043_175836            0           []            4.5   \n",
       "17                   F49F012044_227            0           []            4.0   \n",
       "18          F49F011043_31995;319681            0           []             []   \n",
       "19                               []            0           []            3.5   \n",
       "\n",
       "   indoor_data.cmsid indoor_data.truefloor indoor_data.cpid indoor_data.floor  \n",
       "0                 []                    []               []                []  \n",
       "1                 []                    []               []                []  \n",
       "2                 []                    []               []                []  \n",
       "3                 []                    []               []                []  \n",
       "4                 []                    []               []                []  \n",
       "5                 []                    []               []                []  \n",
       "6                 []                    []               []                []  \n",
       "7                 []                    []               []                []  \n",
       "8                 []                    []               []                []  \n",
       "9                 []                    []               []                []  \n",
       "10                []                    []               []                []  \n",
       "11                []                    []               []                []  \n",
       "12                []                    []               []                []  \n",
       "13                []                    []               []                []  \n",
       "14                []                    []               []                []  \n",
       "15                []                    []               []                []  \n",
       "16                []                    []               []                []  \n",
       "17                []                    []               []                []  \n",
       "18                []                    []               []                []  \n",
       "19                []                    []               []                []  \n",
       "\n",
       "[20 rows x 46 columns]"
      ]
     },
     "execution_count": 56,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "大学 = place_text(keywords=None,types=141201,city=\"广州市\",children=1,extensions='all',page=3)\n",
    "print(大学)\n",
    "df_大学 = pd.json_normalize(大学[\"pois\"])\n",
    "df_大学"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 57,
   "metadata": {},
   "outputs": [],
   "source": [
    "# 周边搜索\n",
    "def place_around(location,keywords=None,types=None,city=None,redius=None,sortrule=None,offset=None,page=None,extensions='base',sig=None)->dict:\n",
    "    \"\"\"周边搜索\"\"\"\n",
    "    url = 'https://restapi.amap.com/v3/place/around?parameters'\n",
    "    params={\n",
    "        'key':key_h,\n",
    "        'keywords':keywords,\n",
    "        'location':location,\n",
    "        'types':types,\n",
    "        'city':city,\n",
    "        'redius':redius,\n",
    "        'sortrule':sortrule,\n",
    "        'offset':offset,\n",
    "        'page':page,\n",
    "        'extensions':extensions,\n",
    "        'output':'json'\n",
    "    }\n",
    "    response = requests.get(url,params=params)\n",
    "    data = response.json()\n",
    "    return data"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 59,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>parent</th>\n",
       "      <th>address</th>\n",
       "      <th>distance</th>\n",
       "      <th>biz_ext</th>\n",
       "      <th>importance</th>\n",
       "      <th>biz_type</th>\n",
       "      <th>type</th>\n",
       "      <th>photos</th>\n",
       "      <th>typecode</th>\n",
       "      <th>shopinfo</th>\n",
       "      <th>poiweight</th>\n",
       "      <th>childtype</th>\n",
       "      <th>name</th>\n",
       "      <th>location</th>\n",
       "      <th>tel</th>\n",
       "      <th>shopid</th>\n",
       "      <th>id</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>[]</td>\n",
       "      <td>西村环市西路52号好又多1层</td>\n",
       "      <td>38</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>diner</td>\n",
       "      <td>餐饮服务;快餐厅;肯德基</td>\n",
       "      <td>[]</td>\n",
       "      <td>050301</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>肯德基(广雅餐厅)</td>\n",
       "      <td>113.241373,23.141471</td>\n",
       "      <td>020-86471885;4009208801</td>\n",
       "      <td>[]</td>\n",
       "      <td>B0FFG7V0E3</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>[]</td>\n",
       "      <td>环市西路52-54号B1层</td>\n",
       "      <td>40</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>diner</td>\n",
       "      <td>餐饮服务;快餐厅;麦当劳</td>\n",
       "      <td>[]</td>\n",
       "      <td>050302</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>麦当劳(西村分店)</td>\n",
       "      <td>113.241394,23.141475</td>\n",
       "      <td>020-86474532;4008597597;4008517517</td>\n",
       "      <td>[]</td>\n",
       "      <td>B00140SZLJ</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>B0FFK85PJL</td>\n",
       "      <td>环市西路37号富力国际鞋城1层</td>\n",
       "      <td>42</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>diner</td>\n",
       "      <td>餐饮服务;外国餐厅;西餐厅(综合风味)</td>\n",
       "      <td>[]</td>\n",
       "      <td>050201</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>202</td>\n",
       "      <td>YOUNG FACE漾啡斯餐吧(西村店)</td>\n",
       "      <td>113.240898,23.141990</td>\n",
       "      <td>020-81777282;13660698999</td>\n",
       "      <td>[]</td>\n",
       "      <td>B0FFH9LHPU</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>B0FFK85PJL</td>\n",
       "      <td>环市西路37号富力国际鞋城1层</td>\n",
       "      <td>47</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>生活服务;生活服务场所;生活服务场所</td>\n",
       "      <td>[]</td>\n",
       "      <td>070000</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>202</td>\n",
       "      <td>YOUNG FACE漾啡斯(西村店)</td>\n",
       "      <td>113.240794,23.142009</td>\n",
       "      <td>020-81777282</td>\n",
       "      <td>[]</td>\n",
       "      <td>B0FFICZW0Z</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>[]</td>\n",
       "      <td>西村街道环市西路52-54号沃尔玛一楼</td>\n",
       "      <td>47</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>生活服务;美容美发店;美容美发店</td>\n",
       "      <td>[]</td>\n",
       "      <td>071100</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>乌守道养发专柜(西村店)</td>\n",
       "      <td>113.241443,23.141412</td>\n",
       "      <td>13268089639</td>\n",
       "      <td>[]</td>\n",
       "      <td>B0FFKTQK92</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>[]</td>\n",
       "      <td>环市西路54号B1楼</td>\n",
       "      <td>47</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>diner</td>\n",
       "      <td>餐饮服务;快餐厅;快餐厅</td>\n",
       "      <td>[]</td>\n",
       "      <td>050300</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>真功夫(西村店)</td>\n",
       "      <td>113.241407,23.141397</td>\n",
       "      <td>020-86475265;4006927927</td>\n",
       "      <td>[]</td>\n",
       "      <td>B00140TFGV</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>[]</td>\n",
       "      <td>西村西村地铁站</td>\n",
       "      <td>54</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>生活服务;生活服务场所;生活服务场所</td>\n",
       "      <td>[]</td>\n",
       "      <td>070000</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>交通违法处理终端机(西村西村地铁站)</td>\n",
       "      <td>113.241788,23.141792</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>B0FFILJ4VB</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>[]</td>\n",
       "      <td>环市西路37号</td>\n",
       "      <td>56</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>diner</td>\n",
       "      <td>餐饮服务;餐饮相关场所;餐饮相关</td>\n",
       "      <td>[]</td>\n",
       "      <td>050000</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>Cake蛋糕之家(西村店)</td>\n",
       "      <td>113.240753,23.142017</td>\n",
       "      <td>15918728670</td>\n",
       "      <td>[]</td>\n",
       "      <td>B0GDVA6PC6</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>[]</td>\n",
       "      <td>环市西路54-5好又多员工通道旁</td>\n",
       "      <td>60</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>生活服务;生活服务场所;生活服务场所</td>\n",
       "      <td>[]</td>\n",
       "      <td>070000</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>汉承美容院</td>\n",
       "      <td>113.241360,23.141272</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>B0FFHP6C0G</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>[]</td>\n",
       "      <td>环市西路37号26楼B21号</td>\n",
       "      <td>60</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>生活服务;美容美发店;美容美发店</td>\n",
       "      <td>[]</td>\n",
       "      <td>071100</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>艺指坊疤痕修复中心</td>\n",
       "      <td>113.240733,23.142056</td>\n",
       "      <td>13719207391</td>\n",
       "      <td>[]</td>\n",
       "      <td>B0G3MU0XUK</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>[]</td>\n",
       "      <td>环市西路37号</td>\n",
       "      <td>60</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>商务住宅;楼宇;商务写字楼</td>\n",
       "      <td>[]</td>\n",
       "      <td>120201</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>富力国际鞋业商贸中心</td>\n",
       "      <td>113.240733,23.142056</td>\n",
       "      <td>020-36574731;020-36574093</td>\n",
       "      <td>[]</td>\n",
       "      <td>B00140NYIL</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>[]</td>\n",
       "      <td>荔湾路121号荔京阁商务中心1楼</td>\n",
       "      <td>64</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>生活服务;生活服务场所;生活服务场所</td>\n",
       "      <td>[]</td>\n",
       "      <td>070000</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>速递易</td>\n",
       "      <td>113.241376,23.141240</td>\n",
       "      <td>4000010055</td>\n",
       "      <td>[]</td>\n",
       "      <td>B0FFG8BX6J</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>[]</td>\n",
       "      <td>环市西路52号</td>\n",
       "      <td>69</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>生活服务;物流速递;物流仓储场地</td>\n",
       "      <td>[]</td>\n",
       "      <td>070501</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>沃尔玛收货部</td>\n",
       "      <td>113.241239,23.141180</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>B0FFKHGNXO</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>[]</td>\n",
       "      <td>环市西路48-54号</td>\n",
       "      <td>71</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>商务住宅;住宅区;住宅小区</td>\n",
       "      <td>[]</td>\n",
       "      <td>120302</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>永安居(广雅后街)</td>\n",
       "      <td>113.241373,23.141173</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>B00140W2D9</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>[]</td>\n",
       "      <td>环市西路54-2号</td>\n",
       "      <td>74</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>diner</td>\n",
       "      <td>餐饮服务;冷饮店;冷饮店</td>\n",
       "      <td>[]</td>\n",
       "      <td>050700</td>\n",
       "      <td>1</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>ORDER柠檬茶(西村店)</td>\n",
       "      <td>113.241623,23.141222</td>\n",
       "      <td>13070235326</td>\n",
       "      <td>[]</td>\n",
       "      <td>B0G3L5JAOL</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>[]</td>\n",
       "      <td>环市西路52-54号1-3层</td>\n",
       "      <td>75</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>生活服务;生活服务场所;生活服务场所</td>\n",
       "      <td>[]</td>\n",
       "      <td>070000</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>广州市社区居家养老服务综合示范平台</td>\n",
       "      <td>113.241992,23.141865</td>\n",
       "      <td>020-81560661</td>\n",
       "      <td>[]</td>\n",
       "      <td>B0G13Z2MOA</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>[]</td>\n",
       "      <td>环市西路52-54号1-3层</td>\n",
       "      <td>75</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>生活服务;生活服务场所;生活服务场所</td>\n",
       "      <td>[]</td>\n",
       "      <td>070000</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>孝慈荟</td>\n",
       "      <td>113.243099,23.142584</td>\n",
       "      <td>020-81560661</td>\n",
       "      <td>[]</td>\n",
       "      <td>B0G13Z1CRX</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>[]</td>\n",
       "      <td>环市西路35之31号101号铺</td>\n",
       "      <td>77</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>生活服务;中介机构;中介机构</td>\n",
       "      <td>[]</td>\n",
       "      <td>071600</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>链家地产(环市西苑分店)</td>\n",
       "      <td>113.240500,23.141776</td>\n",
       "      <td>13711584688</td>\n",
       "      <td>[]</td>\n",
       "      <td>B0FFH2ZKEL</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>[]</td>\n",
       "      <td>环市西路富力环市西苑距地铁5号线西村B口步行390m</td>\n",
       "      <td>80</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>diner</td>\n",
       "      <td>餐饮服务;餐饮相关场所;餐饮相关</td>\n",
       "      <td>[]</td>\n",
       "      <td>050000</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>阿琴包点(环市店)</td>\n",
       "      <td>113.240470,23.141738</td>\n",
       "      <td>13425578913;13602812032</td>\n",
       "      <td>[]</td>\n",
       "      <td>B0FFILB3Z8</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>[]</td>\n",
       "      <td>西村街道环市西路环市西苑35之36号铺</td>\n",
       "      <td>81</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>生活服务;物流速递;物流速递</td>\n",
       "      <td>[]</td>\n",
       "      <td>070500</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>菜鸟驿站(广州荔湾环市西苑店)</td>\n",
       "      <td>113.240467,23.141879</td>\n",
       "      <td>4001787878</td>\n",
       "      <td>[]</td>\n",
       "      <td>B0FFKBVWW2</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "        parent                     address distance biz_ext importance  \\\n",
       "0           []              西村环市西路52号好又多1层       38      []         []   \n",
       "1           []               环市西路52-54号B1层       40      []         []   \n",
       "2   B0FFK85PJL             环市西路37号富力国际鞋城1层       42      []         []   \n",
       "3   B0FFK85PJL             环市西路37号富力国际鞋城1层       47      []         []   \n",
       "4           []         西村街道环市西路52-54号沃尔玛一楼       47      []         []   \n",
       "5           []                  环市西路54号B1楼       47      []         []   \n",
       "6           []                     西村西村地铁站       54      []         []   \n",
       "7           []                     环市西路37号       56      []         []   \n",
       "8           []            环市西路54-5好又多员工通道旁       60      []         []   \n",
       "9           []              环市西路37号26楼B21号       60      []         []   \n",
       "10          []                     环市西路37号       60      []         []   \n",
       "11          []            荔湾路121号荔京阁商务中心1楼       64      []         []   \n",
       "12          []                     环市西路52号       69      []         []   \n",
       "13          []                  环市西路48-54号       71      []         []   \n",
       "14          []                   环市西路54-2号       74      []         []   \n",
       "15          []              环市西路52-54号1-3层       75      []         []   \n",
       "16          []              环市西路52-54号1-3层       75      []         []   \n",
       "17          []             环市西路35之31号101号铺       77      []         []   \n",
       "18          []  环市西路富力环市西苑距地铁5号线西村B口步行390m       80      []         []   \n",
       "19          []         西村街道环市西路环市西苑35之36号铺       81      []         []   \n",
       "\n",
       "   biz_type                 type photos typecode shopinfo poiweight childtype  \\\n",
       "0     diner         餐饮服务;快餐厅;肯德基     []   050301        0        []        []   \n",
       "1     diner         餐饮服务;快餐厅;麦当劳     []   050302        0        []        []   \n",
       "2     diner  餐饮服务;外国餐厅;西餐厅(综合风味)     []   050201        0        []       202   \n",
       "3        []   生活服务;生活服务场所;生活服务场所     []   070000        0        []       202   \n",
       "4        []     生活服务;美容美发店;美容美发店     []   071100        0        []        []   \n",
       "5     diner         餐饮服务;快餐厅;快餐厅     []   050300        0        []        []   \n",
       "6        []   生活服务;生活服务场所;生活服务场所     []   070000        0        []        []   \n",
       "7     diner     餐饮服务;餐饮相关场所;餐饮相关     []   050000        0        []        []   \n",
       "8        []   生活服务;生活服务场所;生活服务场所     []   070000        0        []        []   \n",
       "9        []     生活服务;美容美发店;美容美发店     []   071100        0        []        []   \n",
       "10       []        商务住宅;楼宇;商务写字楼     []   120201        0        []        []   \n",
       "11       []   生活服务;生活服务场所;生活服务场所     []   070000        0        []        []   \n",
       "12       []     生活服务;物流速递;物流仓储场地     []   070501        0        []        []   \n",
       "13       []        商务住宅;住宅区;住宅小区     []   120302        0        []        []   \n",
       "14    diner         餐饮服务;冷饮店;冷饮店     []   050700        1        []        []   \n",
       "15       []   生活服务;生活服务场所;生活服务场所     []   070000        0        []        []   \n",
       "16       []   生活服务;生活服务场所;生活服务场所     []   070000        0        []        []   \n",
       "17       []       生活服务;中介机构;中介机构     []   071600        0        []        []   \n",
       "18    diner     餐饮服务;餐饮相关场所;餐饮相关     []   050000        0        []        []   \n",
       "19       []       生活服务;物流速递;物流速递     []   070500        0        []        []   \n",
       "\n",
       "                    name              location  \\\n",
       "0              肯德基(广雅餐厅)  113.241373,23.141471   \n",
       "1              麦当劳(西村分店)  113.241394,23.141475   \n",
       "2   YOUNG FACE漾啡斯餐吧(西村店)  113.240898,23.141990   \n",
       "3     YOUNG FACE漾啡斯(西村店)  113.240794,23.142009   \n",
       "4           乌守道养发专柜(西村店)  113.241443,23.141412   \n",
       "5               真功夫(西村店)  113.241407,23.141397   \n",
       "6     交通违法处理终端机(西村西村地铁站)  113.241788,23.141792   \n",
       "7          Cake蛋糕之家(西村店)  113.240753,23.142017   \n",
       "8                  汉承美容院  113.241360,23.141272   \n",
       "9              艺指坊疤痕修复中心  113.240733,23.142056   \n",
       "10            富力国际鞋业商贸中心  113.240733,23.142056   \n",
       "11                   速递易  113.241376,23.141240   \n",
       "12                沃尔玛收货部  113.241239,23.141180   \n",
       "13             永安居(广雅后街)  113.241373,23.141173   \n",
       "14         ORDER柠檬茶(西村店)  113.241623,23.141222   \n",
       "15     广州市社区居家养老服务综合示范平台  113.241992,23.141865   \n",
       "16                   孝慈荟  113.243099,23.142584   \n",
       "17          链家地产(环市西苑分店)  113.240500,23.141776   \n",
       "18             阿琴包点(环市店)  113.240470,23.141738   \n",
       "19       菜鸟驿站(广州荔湾环市西苑店)  113.240467,23.141879   \n",
       "\n",
       "                                   tel shopid          id  \n",
       "0              020-86471885;4009208801     []  B0FFG7V0E3  \n",
       "1   020-86474532;4008597597;4008517517     []  B00140SZLJ  \n",
       "2             020-81777282;13660698999     []  B0FFH9LHPU  \n",
       "3                         020-81777282     []  B0FFICZW0Z  \n",
       "4                          13268089639     []  B0FFKTQK92  \n",
       "5              020-86475265;4006927927     []  B00140TFGV  \n",
       "6                                   []     []  B0FFILJ4VB  \n",
       "7                          15918728670     []  B0GDVA6PC6  \n",
       "8                                   []     []  B0FFHP6C0G  \n",
       "9                          13719207391     []  B0G3MU0XUK  \n",
       "10           020-36574731;020-36574093     []  B00140NYIL  \n",
       "11                          4000010055     []  B0FFG8BX6J  \n",
       "12                                  []     []  B0FFKHGNXO  \n",
       "13                                  []     []  B00140W2D9  \n",
       "14                         13070235326     []  B0G3L5JAOL  \n",
       "15                        020-81560661     []  B0G13Z2MOA  \n",
       "16                        020-81560661     []  B0G13Z1CRX  \n",
       "17                         13711584688     []  B0FFH2ZKEL  \n",
       "18             13425578913;13602812032     []  B0FFILB3Z8  \n",
       "19                          4001787878     []  B0FFKBVWW2  "
      ]
     },
     "execution_count": 59,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# json信息\n",
    "西村_周边POI = place_around(西村_location)\n",
    "西村_周边POI\n",
    "df_西村_周边POI = pd.json_normalize(西村_周边POI['pois'])\n",
    "df_西村_周边POI"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 62,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "{'suggestion': {'keywords': [], 'cities': []},\n",
       " 'count': '25',\n",
       " 'infocode': '10000',\n",
       " 'pois': [{'parent': [],\n",
       "   'distance': [],\n",
       "   'pcode': '440000',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '30.00', 'rating': '4.5', 'meal_ordering': '0'},\n",
       "   'recommend': '0',\n",
       "   'type': '餐饮服务;快餐厅;麦当劳',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/af7d0f794021427f473668598f2f1254'},\n",
       "    {'title': '菜品',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/8405d12ec0c78f351734f912f0ee44fa'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/1a48d51dbd2c1b5913cfe1b6a9137fb6'}],\n",
       "   'discount_num': '0',\n",
       "   'gridcode': '3413749320',\n",
       "   'typecode': '050302',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'citycode': '020',\n",
       "   'adname': '黄埔区',\n",
       "   'children': [],\n",
       "   'alias': [],\n",
       "   'tel': '020-89854139',\n",
       "   'id': 'B0FFIJPVMU',\n",
       "   'tag': '麦辣鸡腿堡套餐,鸡翅,巨无霸经典中薯条套餐,不素之霸双层牛堡套餐,大薯条,草莓雪糕,草莓麦旋风,无辣不欢双人餐,双层深海狭鳕鱼堡套餐,吉士蛋,随心配麦香鸡雪碧,干脆可可麦旋风,巨无霸套餐,和风牛井饭,安格斯汉堡,香芋派,蜜汁鸡腿满碗饭,无辣不欢单人餐,麦辣鸡腿汉堡经典中薯条套餐,随心配那么大鸡排香芋派-,随心配双层吉士汉堡可乐,饿式红肠香鸡堡,双层吉士汉堡,那么大珍珠奶茶暖,板烧鸡腿堡套餐',\n",
       "   'event': [],\n",
       "   'entr_location': '113.541636,23.333246',\n",
       "   'indoor_map': '0',\n",
       "   'email': [],\n",
       "   'timestamp': '2020-11-17 06:48:20',\n",
       "   'website': [],\n",
       "   'address': '九龙镇中新知识城九龙大道西侧ZSCN-B1-2号',\n",
       "   'adcode': '440112',\n",
       "   'pname': '广东省',\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'postcode': [],\n",
       "   'match': '0',\n",
       "   'indoor_data': {'truefloor': [], 'cpid': [], 'floor': []},\n",
       "   'business_area': [],\n",
       "   'childtype': [],\n",
       "   'exit_location': [],\n",
       "   'name': '麦当劳',\n",
       "   'location': '113.541641,23.333302',\n",
       "   'shopid': [],\n",
       "   'navi_poiid': [],\n",
       "   'groupbuy_num': '0'},\n",
       "  {'parent': 'B0FFFPVSH2',\n",
       "   'distance': [],\n",
       "   'pcode': '440000',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '30.00', 'rating': '4.7', 'meal_ordering': '0'},\n",
       "   'recommend': '0',\n",
       "   'type': '餐饮服务;快餐厅;麦当劳',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/d4b12f8b3917891847ee618bb2398ec1'},\n",
       "    {'title': '菜品',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/8405d12ec0c78f351734f912f0ee44fa'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/b0c68dd9af4c7f39d9083b7eac2e3298'}],\n",
       "   'discount_num': '0',\n",
       "   'gridcode': '3513243720',\n",
       "   'typecode': '050302',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'citycode': '020',\n",
       "   'adname': '从化区',\n",
       "   'children': [],\n",
       "   'alias': [],\n",
       "   'tel': '020-37507910;4008597597',\n",
       "   'id': 'B0FFFT24X0',\n",
       "   'tag': '麦辣鸡翅麦乐鸡餐,扭扭薯条,板烧鸡腿堡鸡翅餐,麦辣鸡腿堡套餐,草莓派,不素之霸双层牛堡套餐,板烧鸡腿堡麦乐鸡餐,红豆双皮奶派,团团圆圆鸡盒,小食纷享盒,猪柳麦满分,双层原味板烧鸡腿麦满分,开心乐园餐配小薯条,麦乐鸡块,联好虾堡,麦辣鸡腿汉堡经典中薯条套餐,巨无霸经典中薯条套餐,核桃豆浆,烟肉蛋麦满分,原味板烧鸡腿麦满分,吉士炒双蛋堡,热朱古力,双层吉士汉堡,鲜煮咖啡,甜筒',\n",
       "   'event': [],\n",
       "   'entr_location': '113.589635,23.531533',\n",
       "   'indoor_map': '0',\n",
       "   'email': [],\n",
       "   'timestamp': '2020-11-17 11:33:26',\n",
       "   'website': [],\n",
       "   'address': '江埔街海塱东路9号',\n",
       "   'adcode': '440117',\n",
       "   'pname': '广东省',\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'postcode': [],\n",
       "   'match': '0',\n",
       "   'indoor_data': {'truefloor': [], 'cpid': [], 'floor': []},\n",
       "   'business_area': '江埔',\n",
       "   'childtype': '202',\n",
       "   'exit_location': [],\n",
       "   'name': '麦当劳(从城大道分店)',\n",
       "   'location': '113.589849,23.531461',\n",
       "   'shopid': [],\n",
       "   'navi_poiid': 'F49F006045_135422',\n",
       "   'groupbuy_num': '0'},\n",
       "  {'parent': 'B00140AXVL',\n",
       "   'distance': [],\n",
       "   'pcode': '440000',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '32.00', 'rating': '4.6', 'meal_ordering': '0'},\n",
       "   'recommend': '0',\n",
       "   'type': '餐饮服务;快餐厅;麦当劳',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/d4b12f8b3917891847ee618bb2398ec1'},\n",
       "    {'title': '用户',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/fe79f9b506fac5e33c593215cc37368b'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/36ca27a558411cc36130346ab0e1eee9'}],\n",
       "   'discount_num': '0',\n",
       "   'gridcode': '3513245720',\n",
       "   'typecode': '050302',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'citycode': '020',\n",
       "   'adname': '从化区',\n",
       "   'children': [],\n",
       "   'alias': [],\n",
       "   'tel': '020-87921092;4008597597',\n",
       "   'id': 'B00140BNGX',\n",
       "   'tag': '麦辣鸡翅,麦辣鸡腿堡套餐,买金黄脆薯格送中薯,原味板烧鸡腿堡,麦旋风奥利奥原味,扭扭薯条,麦脆鸡盒,双层安格斯厚牛芝士堡,椒盐金脆鸡翅,随心配麦香鸡雪碧,法式珍虾厚牛汉堡,猪柳炒双蛋堡,那么大鸡排,早晨开心乐园餐,铁板原味鸡腿堡,芝士味圆筒雪糕,菠萝鸡扒麦满分,板烧翅乐套,ZICO椰子水饮鸡翅下午茶,可乐鸡翅,活力蛋,无肉不欢,蜜桃派,金选布丁麦旋风',\n",
       "   'event': [],\n",
       "   'entr_location': [],\n",
       "   'indoor_map': '0',\n",
       "   'email': [],\n",
       "   'timestamp': '2020-11-17 23:44:26',\n",
       "   'website': 'www.mcdonalds.com.cn',\n",
       "   'address': '新城路68号新世纪广场1层',\n",
       "   'adcode': '440117',\n",
       "   'pname': '广东省',\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'postcode': [],\n",
       "   'match': '0',\n",
       "   'indoor_data': {'truefloor': [], 'cpid': [], 'floor': []},\n",
       "   'business_area': '城郊',\n",
       "   'childtype': '202',\n",
       "   'exit_location': [],\n",
       "   'name': '麦当劳(从化新世纪广场分店)',\n",
       "   'location': '113.588730,23.547599',\n",
       "   'shopid': [],\n",
       "   'navi_poiid': 'F49F006045_112796',\n",
       "   'groupbuy_num': '0'},\n",
       "  {'parent': [],\n",
       "   'distance': [],\n",
       "   'pcode': '440000',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '27.00', 'rating': '4.5', 'meal_ordering': '0'},\n",
       "   'recommend': '0',\n",
       "   'type': '餐饮服务;快餐厅;麦当劳',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/af7d0f794021427f473668598f2f1254'},\n",
       "    {'title': '菜品',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/8405d12ec0c78f351734f912f0ee44fa'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/33800ffbdfbfba0a3e72d464b453769a'}],\n",
       "   'discount_num': '0',\n",
       "   'gridcode': '3413643511',\n",
       "   'typecode': '050302',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'citycode': '020',\n",
       "   'adname': '黄埔区',\n",
       "   'children': [],\n",
       "   'alias': [],\n",
       "   'tel': '020-32190585;4008597597',\n",
       "   'id': 'B0FFHVFMXK',\n",
       "   'tag': '麦辣鸡翅麦乐鸡餐,双层原味板烧鸡腿麦满分,麦辣鸡腿汉堡经典中薯条套餐,巨无霸经典中薯条套餐,麦辣鸡腿堡套餐,鲜煮咖啡,巨无霸套餐,三翅,烟肉蛋麦满分,热朱古力,原味板烧鸡腿堡,板烧鸡腿堡经典中薯条套餐,椒盐金脆鸡翅,甜柚柚水果茶装,火腿扒麦满分组合,草莓派,金黄脆薯格下午茶鸡翅组合,香蕉派,巨无霸鸡翅餐,麦乐鸡送网红赞酱,吉士炒双蛋堡,幸胡堡大薯餐,扭扭薯条,团圆堡小玉餐',\n",
       "   'event': [],\n",
       "   'entr_location': [],\n",
       "   'indoor_map': '0',\n",
       "   'email': [],\n",
       "   'timestamp': '2020-11-17 02:24:13',\n",
       "   'website': [],\n",
       "   'address': '新业路23号',\n",
       "   'adcode': '440112',\n",
       "   'pname': '广东省',\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'postcode': [],\n",
       "   'match': '0',\n",
       "   'indoor_data': {'truefloor': [], 'cpid': [], 'floor': []},\n",
       "   'business_area': [],\n",
       "   'childtype': [],\n",
       "   'exit_location': [],\n",
       "   'name': '麦当劳(广州新业路GSFSDT分店)',\n",
       "   'location': '113.567442,23.195084',\n",
       "   'shopid': [],\n",
       "   'navi_poiid': [],\n",
       "   'groupbuy_num': '0'},\n",
       "  {'parent': [],\n",
       "   'distance': [],\n",
       "   'pcode': '440000',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '37.00', 'rating': '4.6', 'meal_ordering': '0'},\n",
       "   'recommend': '0',\n",
       "   'type': '餐饮服务;快餐厅;麦当劳',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/2cc736554ff4937fbf5b59589acc6e0d'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/4b91214120e9d066a9ea1c196a2f2f76'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/06543a903c6f2e82716fb2057fa14f78'}],\n",
       "   'discount_num': '0',\n",
       "   'gridcode': '3413643701',\n",
       "   'typecode': '050302',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'citycode': '020',\n",
       "   'adname': '增城区',\n",
       "   'children': [],\n",
       "   'alias': [],\n",
       "   'tel': '020-32145432',\n",
       "   'id': 'B0FFJ694G3',\n",
       "   'tag': '麦辣鸡腿堡套餐,椒盐金脆鸡翅,麦辣鸡腿汉堡经典中薯条套餐,巨无霸套餐,三翅,原味板烧鸡腿堡,圆筒,法式新地,双层安格斯厚牛芝士堡,杰克的安格斯黑金餐,麦乐鸡开心乐园餐,随心配麦香鸡雪碧,海陆空三味大餐,香骨鸡腿,双层吉士汉堡,麦趣鸡盒,鸡翅麦乐鸡双人餐,纷享小食盒,椰子水饮,周末全家满分早餐,蜜桃派,扭扭金条,麦当劳金黄脆薯格装,猪柳炒双蛋堡',\n",
       "   'event': [],\n",
       "   'entr_location': '113.593194,23.191963',\n",
       "   'indoor_map': '0',\n",
       "   'email': [],\n",
       "   'timestamp': '2020-11-14 11:02:02',\n",
       "   'website': [],\n",
       "   'address': '永宁街新新六路213号',\n",
       "   'adcode': '440118',\n",
       "   'pname': '广东省',\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'postcode': [],\n",
       "   'match': '0',\n",
       "   'indoor_data': {'truefloor': [], 'cpid': [], 'floor': []},\n",
       "   'business_area': [],\n",
       "   'childtype': [],\n",
       "   'exit_location': [],\n",
       "   'name': '麦当劳(合景得来速店)',\n",
       "   'location': '113.593097,23.191744',\n",
       "   'shopid': [],\n",
       "   'navi_poiid': [],\n",
       "   'groupbuy_num': '0'},\n",
       "  {'parent': [],\n",
       "   'distance': [],\n",
       "   'pcode': '440000',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '25.00', 'rating': '4.6', 'meal_ordering': '0'},\n",
       "   'recommend': '0',\n",
       "   'type': '餐饮服务;餐饮相关场所;餐饮相关',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/af7d0f794021427f473668598f2f1254'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/e6f187003e4b8e06a9d12580ecd562d8'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/5ed45dc6351f391ff9fc3452a726d80f'}],\n",
       "   'discount_num': '0',\n",
       "   'gridcode': '3413640020',\n",
       "   'typecode': '050000',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'citycode': '020',\n",
       "   'adname': '黄埔区',\n",
       "   'children': [],\n",
       "   'alias': [],\n",
       "   'tel': '020-89856424',\n",
       "   'id': 'B0FFIWI7NM',\n",
       "   'tag': '板烧鸡腿堡套餐,原味板烧鸡腿堡,麦辣鸡翅,麦辣鸡腿堡套餐,大薯条,麦乐鸡,不素之霸双层牛堡套餐,香芋派,双层深海狭鳕鱼堡套餐,菠萝派,双层吉士汉堡,芒果派,板烧鸡腿堡经典中薯条套餐,可乐鸡翅,双层安格斯厚牛芝士堡,菠萝鸡扒麦满分,吉士炒双蛋堡,脆皮巧克力味花生大圆,干脆可可麦旋风,巨无霸套餐,88会员节8月28日,随心配双层吉士汉堡可乐,川辣双鸡堡套餐,巨无霸双吉双人餐特价,专享小食',\n",
       "   'event': [],\n",
       "   'entr_location': '113.50059,23.172567',\n",
       "   'indoor_map': '0',\n",
       "   'email': [],\n",
       "   'timestamp': '2020-11-18 00:13:55',\n",
       "   'website': [],\n",
       "   'address': '',\n",
       "   'adcode': '440112',\n",
       "   'pname': '广东省',\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'postcode': [],\n",
       "   'match': '0',\n",
       "   'indoor_data': {'truefloor': [], 'cpid': [], 'floor': []},\n",
       "   'business_area': [],\n",
       "   'childtype': [],\n",
       "   'exit_location': [],\n",
       "   'name': '麦当劳',\n",
       "   'location': '113.500416,23.173108',\n",
       "   'shopid': [],\n",
       "   'navi_poiid': [],\n",
       "   'groupbuy_num': '0'},\n",
       "  {'parent': [],\n",
       "   'distance': [],\n",
       "   'pcode': '440000',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '30.00', 'rating': '3.0', 'meal_ordering': '0'},\n",
       "   'recommend': '0',\n",
       "   'type': '餐饮服务;快餐厅;快餐厅',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/654b10dfe0866b38774a6897272bbb10'},\n",
       "    {'title': '环境',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/4e92ef2099e3f9aa7778697d8bc2b47f'},\n",
       "    {'title': '环境',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/050cd471d1171386319c39dc292f2a70'}],\n",
       "   'discount_num': '0',\n",
       "   'gridcode': '3413631610',\n",
       "   'typecode': '050300',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'citycode': '020',\n",
       "   'adname': '黄埔区',\n",
       "   'children': [],\n",
       "   'alias': [],\n",
       "   'tel': '020-31601536;15920456535',\n",
       "   'id': 'B0G1S7AYOV',\n",
       "   'tag': [],\n",
       "   'event': [],\n",
       "   'entr_location': [],\n",
       "   'indoor_map': '0',\n",
       "   'email': [],\n",
       "   'timestamp': '2020-11-17 09:15:02',\n",
       "   'website': [],\n",
       "   'address': '科翔路128号金峰城商业广场121-155号',\n",
       "   'adcode': '440112',\n",
       "   'pname': '广东省',\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'postcode': [],\n",
       "   'match': '0',\n",
       "   'indoor_data': {'truefloor': [], 'cpid': [], 'floor': []},\n",
       "   'business_area': [],\n",
       "   'childtype': [],\n",
       "   'exit_location': [],\n",
       "   'name': '麦当劳(科翔路分店)',\n",
       "   'location': '113.452953,23.178602',\n",
       "   'shopid': [],\n",
       "   'navi_poiid': [],\n",
       "   'groupbuy_num': '0'},\n",
       "  {'parent': [],\n",
       "   'distance': [],\n",
       "   'pcode': '440000',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '30.00', 'rating': '4.6', 'meal_ordering': '0'},\n",
       "   'recommend': '0',\n",
       "   'type': '餐饮服务;快餐厅;麦当劳',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/d4b12f8b3917891847ee618bb2398ec1'},\n",
       "    {'title': '用户',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/d2bf010ea47cc30b8886bfe1929e7a64'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/3d5728ab527c5a7a77729712914bb153'}],\n",
       "   'discount_num': '0',\n",
       "   'gridcode': '3413549220',\n",
       "   'typecode': '050302',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'citycode': '020',\n",
       "   'adname': '黄埔区',\n",
       "   'children': [],\n",
       "   'alias': [],\n",
       "   'tel': '020-32397082;020-32397802;4008597597',\n",
       "   'id': 'B0FFHO570O',\n",
       "   'tag': '板烧鸡腿堡麦乐鸡餐,麦辣鸡翅麦乐鸡餐,扭扭薯条,三翅,猪柳炒双蛋堡,红豆派,墨西哥烧烤风味鸡腿堡,巨无霸经典中薯条套餐,麦辣鸡腿堡鸡翅餐,团团圆圆鸡盒,咸蛋黄鸡丝粥组合,幸胡堡小玉餐,椒盐金脆鸡翅,双层原味板烧鸡腿麦满分,板烧鸡腿堡鸡翅餐,无辣不欢单人餐,麦辣鸡腿汉堡经典中薯条套餐,香芒芒,猪柳麦满分,法式苹果风味茶,奥利奥草莓口味麦旋风,零度可口可乐,开心乐园餐配小薯条,可盐可甜下午茶,甜柚柚水果茶装',\n",
       "   'event': [],\n",
       "   'entr_location': '113.528773,23.164703',\n",
       "   'indoor_map': '0',\n",
       "   'email': [],\n",
       "   'timestamp': '2020-11-17 11:09:23',\n",
       "   'website': [],\n",
       "   'address': '云信路与永程大道交汇处',\n",
       "   'adcode': '440112',\n",
       "   'pname': '广东省',\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'postcode': [],\n",
       "   'match': '0',\n",
       "   'indoor_data': {'truefloor': [], 'cpid': [], 'floor': []},\n",
       "   'business_area': [],\n",
       "   'childtype': [],\n",
       "   'exit_location': [],\n",
       "   'name': '麦当劳(金色梦想分店)',\n",
       "   'location': '113.528783,23.164573',\n",
       "   'shopid': [],\n",
       "   'navi_poiid': [],\n",
       "   'groupbuy_num': '0'},\n",
       "  {'parent': 'B001423X5X',\n",
       "   'distance': [],\n",
       "   'pcode': '440000',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '32.00', 'rating': '4.6', 'meal_ordering': '0'},\n",
       "   'recommend': '0',\n",
       "   'type': '餐饮服务;快餐厅;麦当劳',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/d4b12f8b3917891847ee618bb2398ec1'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/36ca27a558411cc36130346ab0e1eee9'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/8081fcf31cb92a36c83ff5c2e4c2cec8'}],\n",
       "   'discount_num': '0',\n",
       "   'gridcode': '3413630711',\n",
       "   'typecode': '050302',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'citycode': '020',\n",
       "   'adname': '黄埔区',\n",
       "   'children': [],\n",
       "   'alias': [],\n",
       "   'tel': '020-82006484',\n",
       "   'id': 'B0FFG6IZM9',\n",
       "   'tag': '麦辣鸡腿汉堡经典中薯条套餐,麦辣鸡翅,板烧鸡腿堡套餐,巨无霸套餐,奥利奥雪糕,双层吉士汉堡,甜筒,本宫凤堡,菠萝牛汉堡,特浓奶香咖啡,草莓麻薯新地,小食盒,麦辣鸡腿堡套餐,扭扭薯条,奥利奥草莓麦旋风,板烧鸡腿堡经典中薯条套餐,双层深海狭鳕鱼堡套餐,香芋派,麦当劳早餐,樱花味雪糕,不素之霸双层牛堡套餐,麦香鱼汉堡,麦脆鸡盒,麦辣鸡腿堡超值午餐,无辣不欢单人餐',\n",
       "   'event': [],\n",
       "   'entr_location': '113.467268,23.169842',\n",
       "   'indoor_map': '1',\n",
       "   'email': [],\n",
       "   'timestamp': '2020-11-17 05:46:32',\n",
       "   'website': [],\n",
       "   'address': '科丰路89号萝岗万达广场室内步行街2层2027-2028号商铺',\n",
       "   'adcode': '440112',\n",
       "   'pname': '广东省',\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'postcode': [],\n",
       "   'match': '0',\n",
       "   'indoor_data': {'truefloor': '2F', 'cpid': 'B001423X5X', 'floor': '2'},\n",
       "   'business_area': [],\n",
       "   'childtype': '201',\n",
       "   'exit_location': [],\n",
       "   'name': '麦当劳(萝岗开创大道分店)',\n",
       "   'location': '113.466894,23.169642',\n",
       "   'shopid': [],\n",
       "   'navi_poiid': [],\n",
       "   'groupbuy_num': '0'},\n",
       "  {'parent': 'B0FFH98ERD',\n",
       "   'distance': [],\n",
       "   'pcode': '440000',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '36.00', 'rating': '4.4', 'meal_ordering': '0'},\n",
       "   'recommend': '0',\n",
       "   'type': '餐饮服务;快餐厅;麦当劳',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/af7d0f794021427f473668598f2f1254'},\n",
       "    {'title': '菜品',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/8405d12ec0c78f351734f912f0ee44fa'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/0bb472632e669be041b6779e8ef3f2f9'}],\n",
       "   'discount_num': '0',\n",
       "   'gridcode': '3413539711',\n",
       "   'typecode': '050302',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'citycode': '020',\n",
       "   'adname': '黄埔区',\n",
       "   'children': [],\n",
       "   'alias': [],\n",
       "   'tel': '020-31600407;4008597597;13650994013',\n",
       "   'id': 'B0FFIFDZYI',\n",
       "   'tag': '麦辣鸡腿汉堡经典中薯条套餐,安格斯厚牛培根堡,巨无霸经典中薯条套餐,蜜桃派,麦辣鸡腿堡套餐,原味板烧鸡腿堡,玉米杯,双层安格斯厚牛芝士堡,超级肉酱薯条,甜柚柚水果茶装,法式珍虾厚牛汉堡,猪柳炒双蛋堡,暗夜黑胡椒鸡腿堡,麦辣腿堡餐,金菠闪闪厚牛堡,椒盐金脆鸡翅,随心配麦香鸡雪碧,板烧鸡腿堡套餐,不素之霸双层牛堡套餐,元气满分双人早餐,三翅,金球薯饼,法式柠香鸡腿汉堡,板烧鸡腿堡鸡翅餐,麦辣鸡腿堡鸡翅餐',\n",
       "   'event': [],\n",
       "   'entr_location': '113.467803,23.163231',\n",
       "   'indoor_map': '0',\n",
       "   'email': [],\n",
       "   'timestamp': '2020-11-17 04:50:49',\n",
       "   'website': [],\n",
       "   'address': '开发区开泰大道601号109房、110房及111房及其配套部分场地',\n",
       "   'adcode': '440112',\n",
       "   'pname': '广东省',\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'postcode': [],\n",
       "   'match': '0',\n",
       "   'indoor_data': {'truefloor': [], 'cpid': [], 'floor': []},\n",
       "   'business_area': [],\n",
       "   'childtype': '202',\n",
       "   'exit_location': [],\n",
       "   'name': '麦当劳(开泰大道得来速店)',\n",
       "   'location': '113.467895,23.163576',\n",
       "   'shopid': [],\n",
       "   'navi_poiid': [],\n",
       "   'groupbuy_num': '0'},\n",
       "  {'parent': [],\n",
       "   'distance': [],\n",
       "   'pcode': '440000',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '33.00', 'rating': '4.6', 'meal_ordering': '0'},\n",
       "   'recommend': '0',\n",
       "   'type': '餐饮服务;快餐厅;麦当劳',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/d4b12f8b3917891847ee618bb2398ec1'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/ffec833c5628fdea50345f61c15c0c61'},\n",
       "    {'title': '菜品',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/8405d12ec0c78f351734f912f0ee44fa'}],\n",
       "   'discount_num': '0',\n",
       "   'gridcode': '3413548021',\n",
       "   'typecode': '050302',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'citycode': '020',\n",
       "   'adname': '黄埔区',\n",
       "   'children': [],\n",
       "   'alias': [],\n",
       "   'tel': '020-82006232;4008597597;020-82003801',\n",
       "   'id': 'B0FFFEAHM1',\n",
       "   'tag': '烤芝士酱薯条,蜜汁柠檬风味鸡翅,原味菠萝果酱圆筒大雪糕,金黄脆薯格下午茶麦乐鸡组合,麦辣鸡腿堡鸡翅餐,麦辣鸡翅麦乐鸡餐,板烧鸡腿堡鸡翅餐,麦辣鸡翅套,甜筒,超级培根鸡排堡,麦辣鸡腿汉堡经典中薯条套餐,麦香鱼汉堡,板烧鸡腿堡套餐,双层原味板烧鸡腿麦满分,菠萝派,香辣鸡翅,麦乐鸡块餐,雪糕新地,蜜桃派,双层深海狭鳕鱼堡套餐,买金黄脆薯格送中薯,猪柳炒双蛋堡,麦趣鸡盒,麦香鸡蔬萃餐,脆皮枫糖风味鸡翅',\n",
       "   'event': [],\n",
       "   'entr_location': '113.507054,23.155516',\n",
       "   'indoor_map': '0',\n",
       "   'email': [],\n",
       "   'timestamp': '2020-11-18 00:10:45',\n",
       "   'website': [],\n",
       "   'address': '万荟二街57-63号',\n",
       "   'adcode': '440112',\n",
       "   'pname': '广东省',\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'postcode': [],\n",
       "   'match': '0',\n",
       "   'indoor_data': {'truefloor': [], 'cpid': [], 'floor': []},\n",
       "   'business_area': [],\n",
       "   'childtype': [],\n",
       "   'exit_location': [],\n",
       "   'name': '麦当劳(东荟城DT餐厅)',\n",
       "   'location': '113.506933,23.155572',\n",
       "   'shopid': [],\n",
       "   'navi_poiid': 'F49F011045_37690',\n",
       "   'groupbuy_num': '0'},\n",
       "  {'parent': [],\n",
       "   'distance': [],\n",
       "   'pcode': '440000',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '30.00', 'rating': '4.5', 'meal_ordering': '0'},\n",
       "   'recommend': '0',\n",
       "   'type': '餐饮服务;快餐厅;麦当劳',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/654b10dfe0866b38774a6897272bbb10'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/36ca27a558411cc36130346ab0e1eee9'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/0e9a94b69dc247a60b45e8820ad88c8f'}],\n",
       "   'discount_num': '0',\n",
       "   'gridcode': '3413623901',\n",
       "   'typecode': '050302',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'citycode': '020',\n",
       "   'adname': '天河区',\n",
       "   'children': [],\n",
       "   'alias': [],\n",
       "   'tel': '020-87030869;020-88523510;4008517517',\n",
       "   'id': 'B00140NXS3',\n",
       "   'tag': '板烧鸡腿堡麦乐鸡餐,麦辣鸡腿堡鸡翅餐,甜筒,油条培根蛋麦煎饼配脆薯饼,雪糕,麦香鸡汉堡,板烧鸡腿堡套餐,香芋派,麦辣鸡腿堡套餐,三翅,麦辣鸡腿汉堡经典中薯条套餐,玉米燕麦豆浆,香芒芒,巨无霸鸡翅餐,幸胡堡中薯餐,星厨鲜脆纯牛堡,拿铁,麦香猪柳蛋,草莓派,蜜汁鸡腿满碗饭中薯餐,红豆双皮奶派,热朱古力,鲜煮咖啡,菠萝派',\n",
       "   'event': [],\n",
       "   'entr_location': '113.368135,23.193522',\n",
       "   'indoor_map': '0',\n",
       "   'email': [],\n",
       "   'timestamp': '2020-11-17 04:56:52',\n",
       "   'website': [],\n",
       "   'address': '广汕一路15号龙洞牌坊',\n",
       "   'adcode': '440106',\n",
       "   'pname': '广东省',\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'postcode': [],\n",
       "   'match': '0',\n",
       "   'indoor_data': {'truefloor': [], 'cpid': [], 'floor': []},\n",
       "   'business_area': '龙洞',\n",
       "   'childtype': [],\n",
       "   'exit_location': [],\n",
       "   'name': '麦当劳(龙洞店)',\n",
       "   'location': '113.368278,23.193663',\n",
       "   'shopid': [],\n",
       "   'navi_poiid': 'F49F010043_73884',\n",
       "   'groupbuy_num': '0'},\n",
       "  {'parent': 'B00141IH9C',\n",
       "   'distance': [],\n",
       "   'pcode': '440000',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '27.00', 'rating': '4.6', 'meal_ordering': '0'},\n",
       "   'recommend': '0',\n",
       "   'type': '餐饮服务;快餐厅;麦当劳',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/d4b12f8b3917891847ee618bb2398ec1'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/36ca27a558411cc36130346ab0e1eee9'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/df808adaed9bc6237355303cd9dc65b2'}],\n",
       "   'discount_num': '0',\n",
       "   'gridcode': '3413623900',\n",
       "   'typecode': '050302',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'citycode': '020',\n",
       "   'adname': '天河区',\n",
       "   'children': [],\n",
       "   'alias': [],\n",
       "   'tel': '020-85202612;020-85202610',\n",
       "   'id': 'B0FFFCVJLQ',\n",
       "   'tag': '板烧鸡腿堡套餐,甜筒,麦辣鸡翅,大脆鸡排麦满分,香芋派,麦辣鸡腿堡超值午餐,麦乐鸡块餐,麦辣鸡腿汉堡经典中薯条套餐,扭扭薯条,不素之霸双层牛堡套餐,麦香鸡大套餐,培根双层牛堡,脆皮枫糖风味鸡翅,菠萝派,新款大雪糕,大洋洲风味炸虾棒,那么大珍珠奶茶暖,开心乐园餐配小玉米,麦乐鸡中套餐,原味豆浆,布丁雪糕,芒果派,芝士烧烤酱风味薯条,麦香鱼汉堡,随心配那么大鸡排香芋派-',\n",
       "   'event': [],\n",
       "   'entr_location': '113.366005,23.19372',\n",
       "   'indoor_map': '0',\n",
       "   'email': [],\n",
       "   'timestamp': '2020-11-17 05:58:15',\n",
       "   'website': [],\n",
       "   'address': '龙洞迎龙大道环村南街6号龙洞购物中心1层A005号',\n",
       "   'adcode': '440106',\n",
       "   'pname': '广东省',\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'postcode': [],\n",
       "   'match': '0',\n",
       "   'indoor_data': {'truefloor': [], 'cpid': [], 'floor': []},\n",
       "   'business_area': '龙洞',\n",
       "   'childtype': '202',\n",
       "   'exit_location': [],\n",
       "   'name': '麦当劳(龙洞第二分店)',\n",
       "   'location': '113.366111,23.193704',\n",
       "   'shopid': [],\n",
       "   'navi_poiid': 'F49F010043_146037',\n",
       "   'groupbuy_num': '0'},\n",
       "  {'parent': [],\n",
       "   'distance': [],\n",
       "   'pcode': '440000',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '26.00', 'rating': '4.6', 'meal_ordering': '0'},\n",
       "   'recommend': '0',\n",
       "   'type': '餐饮服务;快餐厅;麦当劳',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/d4b12f8b3917891847ee618bb2398ec1'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/36ca27a558411cc36130346ab0e1eee9'},\n",
       "    {'title': '菜品',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/8405d12ec0c78f351734f912f0ee44fa'}],\n",
       "   'discount_num': '0',\n",
       "   'gridcode': '3413548712',\n",
       "   'typecode': '050302',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'citycode': '020',\n",
       "   'adname': '增城区',\n",
       "   'children': [],\n",
       "   'alias': [],\n",
       "   'tel': '020-32146148;4008597597;020-32146138',\n",
       "   'id': 'B0FFF05OXO',\n",
       "   'tag': '麦辣鸡翅,本宫凤堡,板烧鸡腿堡经典中薯条套餐,烤芝士酱薯条,香骨鸡腿,朕好虾堡,香芋派,猪柳蛋麦满分,红豆派,扭扭薯条,相思红豆风味优品豆浆,热朱古力,甜筒,好运鸡柳,局鸡翅,川辣双鸡堡套餐,培根双层牛堡,草莓麻薯新地,麦趣鸡盒,奥利奥雪糕,麦辣腿堡餐,椒盐金脆鸡翅,巨无霸经典中薯条套餐,饿式红肠香鸡堡,三翅',\n",
       "   'event': [],\n",
       "   'entr_location': '113.599074,23.154381',\n",
       "   'indoor_map': '0',\n",
       "   'email': [],\n",
       "   'timestamp': '2020-11-17 21:29:43',\n",
       "   'website': [],\n",
       "   'address': '岗丰大道2号附近',\n",
       "   'adcode': '440118',\n",
       "   'pname': '广东省',\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'postcode': [],\n",
       "   'match': '0',\n",
       "   'indoor_data': {'truefloor': [], 'cpid': [], 'floor': []},\n",
       "   'business_area': [],\n",
       "   'childtype': [],\n",
       "   'exit_location': [],\n",
       "   'name': '麦当劳(新新大道岗丰DT分店)',\n",
       "   'location': '113.598610,23.154242',\n",
       "   'shopid': [],\n",
       "   'navi_poiid': 'F49F011045_49863',\n",
       "   'groupbuy_num': '0'},\n",
       "  {'parent': 'B0FFHMZFTL',\n",
       "   'distance': [],\n",
       "   'pcode': '440000',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '25.00', 'rating': '4.4', 'meal_ordering': '0'},\n",
       "   'recommend': '0',\n",
       "   'type': '餐饮服务;餐饮相关场所;餐饮相关',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/af7d0f794021427f473668598f2f1254'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/f9af5b13b66506b375de4ae005c0efe7'},\n",
       "    {'title': '菜品',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/8405d12ec0c78f351734f912f0ee44fa'}],\n",
       "   'discount_num': '0',\n",
       "   'gridcode': '3413539220',\n",
       "   'typecode': '050000',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'citycode': '020',\n",
       "   'adname': '天河区',\n",
       "   'children': [],\n",
       "   'alias': [],\n",
       "   'tel': '020-89280891',\n",
       "   'id': 'B0FFK8WMCI',\n",
       "   'tag': '麦满分,鸡盒,爆珠饮品,咖啡,麦辣鸡腿汉堡经典中薯条套餐,88会员节9月3日,麦当劳雪碧,无辣不欢双人餐,无辣不欢单人餐,川辣双鸡堡套餐,双层深海狭鳕鱼堡套餐,不素之霸双层牛堡套餐,板烧鸡腿堡经典中薯条套餐,巨无霸经典中薯条套餐,88会员节9月4日,88会员节9月2日,88会员节9月1日,88会员节8月31日,88会员节8月30日,88会员节8月29日,88会员节8月28日,88会员节8月27日,88会员节8月26日,88会员节8月25日,88会员节8月24日',\n",
       "   'event': [],\n",
       "   'entr_location': '113.403418,23.166429',\n",
       "   'indoor_map': '0',\n",
       "   'email': [],\n",
       "   'timestamp': '2020-11-17 02:38:59',\n",
       "   'website': [],\n",
       "   'address': '华观路1932号天河万科广场138铺',\n",
       "   'adcode': '440106',\n",
       "   'pname': '广东省',\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'postcode': [],\n",
       "   'match': '0',\n",
       "   'indoor_data': {'truefloor': [], 'cpid': [], 'floor': []},\n",
       "   'business_area': [],\n",
       "   'childtype': '202',\n",
       "   'exit_location': [],\n",
       "   'name': '麦当劳(华观路第二分店)',\n",
       "   'location': '113.404110,23.166372',\n",
       "   'shopid': [],\n",
       "   'navi_poiid': [],\n",
       "   'groupbuy_num': '0'}],\n",
       " 'status': '1',\n",
       " 'info': 'OK'}"
      ]
     },
     "execution_count": 62,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "def polygon(key,polygon=\"113.679287,23.632575|113.361200,23.124680\",keywords=\"麦当劳\",types=None,offset=\"15\",sig=None,extensions=\"all\",page=\"1\") ->dict:\n",
    "    \"\"\"多边形搜索\"\"\"\n",
    "    polygon_url = \"https://restapi.amap.com/v3/place/polygon?parameters\"\n",
    "    params = {\n",
    "        \"key\":key_h,\n",
    "        \"polygon\":polygon,\n",
    "        \"keywords\":keywords,\n",
    "        \"types\":types,\n",
    "        \"offset\":offset,\n",
    "        \"sig\":sig,\n",
    "        \"extensions\":extensions,\n",
    "        \"page\":page,\n",
    "        \"output\":\"json\"\n",
    "    }\n",
    "    response = requests.get(polygon_url,params)\n",
    "    data = response.json()\n",
    "    return data\n",
    "南方学院_西村 = polygon(\"113.679287,23.632575|113.241256,23.141804\")\n",
    "南方学院_西村"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 65,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "{'status': '1',\n",
       " 'info': 'OK',\n",
       " 'infocode': '10000',\n",
       " 'province': '局域网',\n",
       " 'city': [],\n",
       " 'adcode': [],\n",
       " 'rectangle': []}"
      ]
     },
     "execution_count": 65,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "def ip_around(key,ip=\"10.51.159.56\",sig=None)->dict:\n",
    "    \"\"\"IP定义\"\"\"\n",
    "    ip_url = \"https://restapi.amap.com/v3/ip?parameters\"\n",
    "    params = {\n",
    "        \"key\":key_h,\n",
    "        \"ip\":ip,\n",
    "        \"sig\":sig,\n",
    "        \"output\":\"json\"\n",
    "    }\n",
    "    response = requests.get(ip_url,params=params)\n",
    "    data = response.json()\n",
    "    return data\n",
    "我的ip = ip_around('10.51.159.56')\n",
    "我的ip"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 66,
   "metadata": {},
   "outputs": [],
   "source": [
    "#静态地图\n",
    "from PIL import Image\n",
    "from io import BytesIO\n",
    "def staticmap(location,zoom,size=None,scale=1,markers=None,labels=None,paths=None,traffic=0,page=None,sig=None)->dict:\n",
    "    \"\"\"获取动态地图\"\"\"\n",
    "    url = 'https://restapi.amap.com/v3/staticmap?parameters'\n",
    "    params={\n",
    "        'key':key_h,\n",
    "        'location':location,\n",
    "        'zoom':zoom,\n",
    "        'size':size,\n",
    "        'scale':scale,\n",
    "        'markers':markers,\n",
    "        'labels':labels,\n",
    "        'paths':paths,\n",
    "        'traffic':traffic,\n",
    "        'sig':sig,\n",
    "        'output':'json'\n",
    "    }\n",
    "    response = requests.get(url,params=params)\n",
    "    data = Image.open(BytesIO(response.content))\n",
    "    return data"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 70,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAZAAAAGQCAMAAAC3Ycb+AAADAFBMVEX73JTp6OXu8vfv+Oj09ff59/Hx+v75+fnv8vj8+/r29fHz8On68uwAS46p1fOiyP708Oro5d/z9PNcXFzo7/ns6eP39u7g5+jm39br6OHv7uzv7Ob0pkzt7On+/v369u/n7vL38+jg3939+f2trauVdk9ramjr6udlZWTC2/mozv3i7PPr8PPP4vfw7uj39fHu6+bf3tnf18v1jDtxrM7d5/Li6/T3jz7+0SX3/OGs0Px3Thz6yJ6/tad1TBn5+PLj6u32p2j3wI9+ncH7+vXZ5OhRUlPD2/La5/dJSEf6tYDz9PGYelS+2ObFwLWhkX371rj5zqrm5uK51eXw1Gz47+S11PjN4PeVwdlxcnP58+vw8/kJdc370Kz72bvw7OQ/Pj3h29IpKCeEXzLX19QxMS/9r2T49e+u6IX2lUmFudWdgFzz9PKgy+9ZWFb6xZr7uIPv7OaKi4xgYWRnUjiSkpN/WSv2omDOwrGNjYzKvKf3nFWGhohtbm7k5OHI3vgZGBhYWVx9fX2ampnm5Nu82Pr18+53eHlposv7wZL4k0b5rXHb0MPj4dz8nFJ6UyIAivyWl5diYWD5kkJMrPv86c78tHGKaD37qmv7mEz669n1hC76u4mszeHZ5fWqqqnN4fd9q9L3jDl2qdCRcEhUVVj6s3q7p4764Mn63cPb29icq4KxsbFoaGn45dK82PX59/FwRRH8nlW2trX5+PRcoMfIx8L2iDP36Ne41vrMy8nM3eb61bP5yqJ0dHTS0c78pWHo7e2Dg4O6r6Lr7u2hn5yfh2iznX/p5d2jo6O4w8a7u7n78OSozvzi6+3l5+XD2/nr8fSy0/r1gyqrz/z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LUv6K/PG3pWsz7n1Wqm/ukqR735A2zrgNGZxaIF1bcVf+KRnIr15V3rv3rFT5rDQf8bg7O/Ilm0xOaTK8VUQB8vuf/exnk9796lcXQCCTwJOf/RxoyNJZZfcCqTg4ZcxvRx3Y0jBq1aqqvO9lP7uy+t7xC/JWnR3X0Az0o7Z2y6ilLhRlVcx49tXmV+ffPePZGat+O0MavwKEUp80N8+4FzF4ePYbs9dIPyiTgaxaBdQJvvfwjHdmVCqXMyqKsDeChgxzFVGA/M8vTds/6f9+NX/S/wORbyWQX/G3b7selrP0w7O+ffuPy5zOwxurql1fdh44UPXbw7Oqqqu+d3vMgapqKFU/UTL1a1UPw7PeVfUNSVraoHzGgR8rD67Nuku69mqH8fPhe1+rmg8ffgWwfLUr8iVf6zMr9ioyrFVETQz/7d/+8kt/P+m/PlN46NHf/TcoN4Zcy/rWO6wPzL/X9Fq+9dZdUV2zRaaOZFiriFp+//I//DXI1P/9777dOO4ZyOOZeHgQpZOvsD6Q+WJsAndNtrx/0XBWEW0+5O/+y6SfTer89vz53/k64PFQfPOINl30J6ymRYMMZxXRZgzHjCv8feFhIH/T/8xjfzEmLh62TVBFcOvDWUWG5Zx6RLc+jFVkWHadRHTrw1hFhieQiG4dqsjwWLlDyv8HudSp2VGukksAAAAASUVORK5CYII=\n",
      "text/plain": [
       "<PIL.PngImagePlugin.PngImageFile image mode=P size=400x400 at 0x1BA06666FD0>"
      ]
     },
     "execution_count": 70,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "staticmap(location=南方学院_location,zoom=14)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 75,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "{'status': '0', 'info': 'INVALID_PARAMS', 'infocode': '20000'}"
      ]
     },
     "execution_count": 75,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "#坐标转换\n",
    "def convert(key,locations=\"\",coordsys=\"autonavi\",sig=None)->dict:\n",
    "    convert_url = \"https://restapi.amap.com/v3/assistant/coordinate/convert?parameters\"\n",
    "    params = {\n",
    "        \"key\":key_h,\n",
    "        \"locations\":locations,\n",
    "        \"coordsys\":coordsys,\n",
    "        \"sig\":sig,\n",
    "        \"output\":\"json\"\n",
    "    }\n",
    "    response = requests.get(convert_url,params=params)\n",
    "    data = response.json()\n",
    "    return data\n",
    "转换坐标 = convert(\"113.361200,23.124680\")\n",
    "转换坐标"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 77,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "{'status': '1',\n",
       " 'count': '1',\n",
       " 'info': 'OK',\n",
       " 'infocode': '10000',\n",
       " 'forecasts': [{'city': '香港特别行政区',\n",
       "   'adcode': '810000',\n",
       "   'province': '香港',\n",
       "   'reporttime': '2020-11-18 00:28:50',\n",
       "   'casts': [{'date': '2020-11-17',\n",
       "     'week': '2',\n",
       "     'dayweather': '多云',\n",
       "     'nightweather': '多云',\n",
       "     'daytemp': '27',\n",
       "     'nighttemp': '23',\n",
       "     'daywind': '东',\n",
       "     'nightwind': '东',\n",
       "     'daypower': '≤3',\n",
       "     'nightpower': '≤3'},\n",
       "    {'date': '2020-11-18',\n",
       "     'week': '3',\n",
       "     'dayweather': '多云',\n",
       "     'nightweather': '多云',\n",
       "     'daytemp': '26',\n",
       "     'nighttemp': '23',\n",
       "     'daywind': '北',\n",
       "     'nightwind': '北',\n",
       "     'daypower': '≤3',\n",
       "     'nightpower': '≤3'},\n",
       "    {'date': '2020-11-19',\n",
       "     'week': '4',\n",
       "     'dayweather': '多云',\n",
       "     'nightweather': '多云',\n",
       "     'daytemp': '28',\n",
       "     'nighttemp': '23',\n",
       "     'daywind': '北',\n",
       "     'nightwind': '北',\n",
       "     'daypower': '≤3',\n",
       "     'nightpower': '≤3'},\n",
       "    {'date': '2020-11-20',\n",
       "     'week': '5',\n",
       "     'dayweather': '多云',\n",
       "     'nightweather': '阴',\n",
       "     'daytemp': '29',\n",
       "     'nighttemp': '23',\n",
       "     'daywind': '北',\n",
       "     'nightwind': '北',\n",
       "     'daypower': '4',\n",
       "     'nightpower': '4'}]}]}"
      ]
     },
     "execution_count": 77,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "def weather(key,city=\"810000\",extensions=\"all\") ->dict:\n",
    "    weather_url = \"https://restapi.amap.com/v3/weather/weatherInfo?parameters\"\n",
    "    params = {\n",
    "        \"key\":key_h,\n",
    "        \"city\":city,\n",
    "        \"extensions\":extensions,\n",
    "    }\n",
    "    response = requests.get(weather_url,params=params)\n",
    "    data = response.json()\n",
    "    return data\n",
    "香港天气预报 = weather(\"810000\")\n",
    "香港天气预报"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 80,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "{'status': '1',\n",
       " 'count': '10',\n",
       " 'info': 'OK',\n",
       " 'infocode': '10000',\n",
       " 'tips': [{'id': 'BV10593232',\n",
       "   'name': '天河公园(地铁站)',\n",
       "   'district': '广东省广州市天河区',\n",
       "   'adcode': '440106',\n",
       "   'location': '113.362879,23.125317',\n",
       "   'address': '(在建)11号线内环;(在建)11号线外环;(在建)13号线二期;21号线',\n",
       "   'typecode': '150500',\n",
       "   'city': []},\n",
       "  {'id': 'BV10021812',\n",
       "   'name': '员村(地铁站)',\n",
       "   'district': '广东省广州市天河区',\n",
       "   'adcode': '440106',\n",
       "   'location': '113.363663,23.115768',\n",
       "   'address': '(在建)11号线内环;(在建)11号线外环;21号线;5号线',\n",
       "   'typecode': '150500',\n",
       "   'city': []},\n",
       "  {'id': 'BV10014015',\n",
       "   'name': '科韵路(地铁站)',\n",
       "   'district': '广东省广州市天河区',\n",
       "   'adcode': '440106',\n",
       "   'location': '113.377215,23.119280',\n",
       "   'address': '5号线',\n",
       "   'typecode': '150500',\n",
       "   'city': []},\n",
       "  {'id': 'BV10022843',\n",
       "   'name': '潭村(地铁站)',\n",
       "   'district': '广东省广州市天河区',\n",
       "   'adcode': '440106',\n",
       "   'location': '113.345949,23.117366',\n",
       "   'address': '5号线',\n",
       "   'typecode': '150500',\n",
       "   'city': []},\n",
       "  {'id': 'BV10014714',\n",
       "   'name': '华师(地铁站)',\n",
       "   'district': '广东省广州市天河区',\n",
       "   'adcode': '440106',\n",
       "   'location': '113.345330,23.140290',\n",
       "   'address': '(在建)10号线;(在建)11号线内环;(在建)11号线外环;3号线',\n",
       "   'typecode': '150500',\n",
       "   'city': []},\n",
       "  {'id': 'BV10014530',\n",
       "   'name': '岗顶(地铁站)',\n",
       "   'district': '广东省广州市天河区',\n",
       "   'adcode': '440106',\n",
       "   'location': '113.339601,23.134880',\n",
       "   'address': '(在建)10号线;3号线',\n",
       "   'typecode': '150500',\n",
       "   'city': []},\n",
       "  {'id': 'BV10024401',\n",
       "   'name': '新港东(地铁站)',\n",
       "   'district': '广东省广州市海珠区',\n",
       "   'adcode': '440105',\n",
       "   'location': '113.357010,23.098722',\n",
       "   'address': '8号线',\n",
       "   'typecode': '150500',\n",
       "   'city': []},\n",
       "  {'id': 'BV10013860',\n",
       "   'name': '琶洲(地铁站)',\n",
       "   'district': '广东省广州市海珠区',\n",
       "   'adcode': '440105',\n",
       "   'location': '113.366700,23.098516',\n",
       "   'address': '(在建)11号线内环;(在建)11号线外环;8号线',\n",
       "   'typecode': '150500',\n",
       "   'city': []},\n",
       "  {'id': 'BV11095939',\n",
       "   'name': '棠东(地铁站)',\n",
       "   'district': '广东省广州市天河区',\n",
       "   'adcode': '440106',\n",
       "   'location': '113.389744,23.130922',\n",
       "   'address': '21号线',\n",
       "   'typecode': '150500',\n",
       "   'city': []},\n",
       "  {'id': 'BV10014669',\n",
       "   'name': '猎德(地铁站)',\n",
       "   'district': '广东省广州市天河区',\n",
       "   'adcode': '440106',\n",
       "   'location': '113.332105,23.118539',\n",
       "   'address': '5号线',\n",
       "   'typecode': '150500',\n",
       "   'city': []}]}"
      ]
     },
     "execution_count": 80,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "def tips(key,keywords=\"地铁站\",city=\"440000\",location=\"113.361200,23.124680\",citylimit=\"true\",datatype=\"all\",sig=None) ->dict:\n",
    "    tips_url = \"https://restapi.amap.com/v3/assistant/inputtips?parameters\"\n",
    "    params = {\n",
    "        \"key\":key_h,\n",
    "        \"keywords\":keywords,\n",
    "        \"city\":city,\n",
    "        \"location\":location,\n",
    "        \"citylimit\":citylimit,\n",
    "        \"datatype\":datatype,\n",
    "        \"sig\":sig,\n",
    "        \"output\":\"json\"\n",
    "    }\n",
    "    response = requests.get(tips_url,params=params)\n",
    "    data = response.json()\n",
    "    return data\n",
    "地铁站 = tips(\"440000\")\n",
    "地铁站"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.8.3"
  },
  "toc": {
   "base_numbering": 1,
   "nav_menu": {},
   "number_sections": true,
   "sideBar": true,
   "skip_h1_title": false,
   "title_cell": "Table of Contents",
   "title_sidebar": "Contents",
   "toc_cell": false,
   "toc_position": {},
   "toc_section_display": true,
   "toc_window_display": false
  }
 },
 "nbformat": 4,
 "nbformat_minor": 4
}
